Package com.google.cloud.run.v2
Class Service.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
- com.google.cloud.run.v2.Service.Builder
-
- All Implemented Interfaces:
ServiceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Service
public static final class Service.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder
Service acts as a top-level container that manages a set of configurations and revision templates which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership.
Protobuf typegoogle.cloud.run.v2.Service
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Service.Builder
addAllConditions(Iterable<? extends Condition> values)
Output only.Service.Builder
addAllCustomAudiences(Iterable<String> values)
One or more custom audiences that you want this service to support.Service.Builder
addAllTraffic(Iterable<? extends TrafficTarget> values)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
addAllTrafficStatuses(Iterable<? extends TrafficTargetStatus> values)
Output only.Service.Builder
addConditions(int index, Condition value)
Output only.Service.Builder
addConditions(int index, Condition.Builder builderForValue)
Output only.Service.Builder
addConditions(Condition value)
Output only.Service.Builder
addConditions(Condition.Builder builderForValue)
Output only.Condition.Builder
addConditionsBuilder()
Output only.Condition.Builder
addConditionsBuilder(int index)
Output only.Service.Builder
addCustomAudiences(String value)
One or more custom audiences that you want this service to support.Service.Builder
addCustomAudiencesBytes(com.google.protobuf.ByteString value)
One or more custom audiences that you want this service to support.Service.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Service.Builder
addTraffic(int index, TrafficTarget value)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
addTraffic(int index, TrafficTarget.Builder builderForValue)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
addTraffic(TrafficTarget value)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
addTraffic(TrafficTarget.Builder builderForValue)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTarget.Builder
addTrafficBuilder()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTarget.Builder
addTrafficBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
addTrafficStatuses(int index, TrafficTargetStatus value)
Output only.Service.Builder
addTrafficStatuses(int index, TrafficTargetStatus.Builder builderForValue)
Output only.Service.Builder
addTrafficStatuses(TrafficTargetStatus value)
Output only.Service.Builder
addTrafficStatuses(TrafficTargetStatus.Builder builderForValue)
Output only.TrafficTargetStatus.Builder
addTrafficStatusesBuilder()
Output only.TrafficTargetStatus.Builder
addTrafficStatusesBuilder(int index)
Output only.Service
build()
Service
buildPartial()
Service.Builder
clear()
Service.Builder
clearAnnotations()
Service.Builder
clearBinaryAuthorization()
Settings for the Binary Authorization feature.Service.Builder
clearClient()
Arbitrary identifier for the API client.Service.Builder
clearClientVersion()
Arbitrary version identifier for the API client.Service.Builder
clearConditions()
Output only.Service.Builder
clearCreateTime()
Output only.Service.Builder
clearCreator()
Output only.Service.Builder
clearCustomAudiences()
One or more custom audiences that you want this service to support.Service.Builder
clearDeleteTime()
Output only.Service.Builder
clearDescription()
User-provided description of the Service.Service.Builder
clearEtag()
Output only.Service.Builder
clearExpireTime()
Output only.Service.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.Builder
clearGeneration()
Output only.Service.Builder
clearIngress()
Provides the ingress settings for this Service.Service.Builder
clearLabels()
Service.Builder
clearLastModifier()
Output only.Service.Builder
clearLatestCreatedRevision()
Output only.Service.Builder
clearLatestReadyRevision()
Output only.Service.Builder
clearLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Service.Builder
clearName()
The fully qualified name of this Service.Service.Builder
clearObservedGeneration()
Output only.Service.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.Builder
clearReconciling()
Output only.Service.Builder
clearSatisfiesPzs()
Output only.Service.Builder
clearTemplate()
Required.Service.Builder
clearTerminalCondition()
Output only.Service.Builder
clearTraffic()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
clearTrafficStatuses()
Output only.Service.Builder
clearUid()
Output only.Service.Builder
clearUpdateTime()
Output only.Service.Builder
clearUri()
Output only.Service.Builder
clone()
boolean
containsAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.boolean
containsLabels(String key)
Unstructured key value map that can be used to organize and categorize objects.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Map<String,String>
getAnnotationsMap()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.String
getAnnotationsOrDefault(String key, String defaultValue)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.String
getAnnotationsOrThrow(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.BinaryAuthorization
getBinaryAuthorization()
Settings for the Binary Authorization feature.BinaryAuthorization.Builder
getBinaryAuthorizationBuilder()
Settings for the Binary Authorization feature.BinaryAuthorizationOrBuilder
getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.String
getClient()
Arbitrary identifier for the API client.com.google.protobuf.ByteString
getClientBytes()
Arbitrary identifier for the API client.String
getClientVersion()
Arbitrary version identifier for the API client.com.google.protobuf.ByteString
getClientVersionBytes()
Arbitrary version identifier for the API client.Condition
getConditions(int index)
Output only.Condition.Builder
getConditionsBuilder(int index)
Output only.List<Condition.Builder>
getConditionsBuilderList()
Output only.int
getConditionsCount()
Output only.List<Condition>
getConditionsList()
Output only.ConditionOrBuilder
getConditionsOrBuilder(int index)
Output only.List<? extends ConditionOrBuilder>
getConditionsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCreator()
Output only.com.google.protobuf.ByteString
getCreatorBytes()
Output only.String
getCustomAudiences(int index)
One or more custom audiences that you want this service to support.com.google.protobuf.ByteString
getCustomAudiencesBytes(int index)
One or more custom audiences that you want this service to support.int
getCustomAudiencesCount()
One or more custom audiences that you want this service to support.com.google.protobuf.ProtocolStringList
getCustomAudiencesList()
One or more custom audiences that you want this service to support.Service
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.String
getDescription()
User-provided description of the Service.com.google.protobuf.ByteString
getDescriptionBytes()
User-provided description of the Service.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.long
getGeneration()
Output only.IngressTraffic
getIngress()
Provides the ingress settings for this Service.int
getIngressValue()
Provides the ingress settings for this Service.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Unstructured key value map that can be used to organize and categorize objects.Map<String,String>
getLabelsMap()
Unstructured key value map that can be used to organize and categorize objects.String
getLabelsOrDefault(String key, String defaultValue)
Unstructured key value map that can be used to organize and categorize objects.String
getLabelsOrThrow(String key)
Unstructured key value map that can be used to organize and categorize objects.String
getLastModifier()
Output only.com.google.protobuf.ByteString
getLastModifierBytes()
Output only.String
getLatestCreatedRevision()
Output only.com.google.protobuf.ByteString
getLatestCreatedRevisionBytes()
Output only.String
getLatestReadyRevision()
Output only.com.google.protobuf.ByteString
getLatestReadyRevisionBytes()
Output only.com.google.api.LaunchStage
getLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).int
getLaunchStageValue()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
The fully qualified name of this Service.com.google.protobuf.ByteString
getNameBytes()
The fully qualified name of this Service.long
getObservedGeneration()
Output only.boolean
getReconciling()
Output only.boolean
getSatisfiesPzs()
Output only.RevisionTemplate
getTemplate()
Required.RevisionTemplate.Builder
getTemplateBuilder()
Required.RevisionTemplateOrBuilder
getTemplateOrBuilder()
Required.Condition
getTerminalCondition()
Output only.Condition.Builder
getTerminalConditionBuilder()
Output only.ConditionOrBuilder
getTerminalConditionOrBuilder()
Output only.TrafficTarget
getTraffic(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTarget.Builder
getTrafficBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.List<TrafficTarget.Builder>
getTrafficBuilderList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.int
getTrafficCount()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.List<TrafficTarget>
getTrafficList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTargetOrBuilder
getTrafficOrBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.List<? extends TrafficTargetOrBuilder>
getTrafficOrBuilderList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTargetStatus
getTrafficStatuses(int index)
Output only.TrafficTargetStatus.Builder
getTrafficStatusesBuilder(int index)
Output only.List<TrafficTargetStatus.Builder>
getTrafficStatusesBuilderList()
Output only.int
getTrafficStatusesCount()
Output only.List<TrafficTargetStatus>
getTrafficStatusesList()
Output only.TrafficTargetStatusOrBuilder
getTrafficStatusesOrBuilder(int index)
Output only.List<? extends TrafficTargetStatusOrBuilder>
getTrafficStatusesOrBuilderList()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getUri()
Output only.com.google.protobuf.ByteString
getUriBytes()
Output only.boolean
hasBinaryAuthorization()
Settings for the Binary Authorization feature.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasExpireTime()
Output only.boolean
hasTemplate()
Required.boolean
hasTerminalCondition()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Service.Builder
mergeBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.Service.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
mergeFrom(Service other)
Service.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.Builder
mergeFrom(com.google.protobuf.Message other)
Service.Builder
mergeTemplate(RevisionTemplate value)
Required.Service.Builder
mergeTerminalCondition(Condition value)
Output only.Service.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
putAllAnnotations(Map<String,String> values)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Service.Builder
putAllLabels(Map<String,String> values)
Unstructured key value map that can be used to organize and categorize objects.Service.Builder
putAnnotations(String key, String value)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Service.Builder
putLabels(String key, String value)
Unstructured key value map that can be used to organize and categorize objects.Service.Builder
removeAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Service.Builder
removeConditions(int index)
Output only.Service.Builder
removeLabels(String key)
Unstructured key value map that can be used to organize and categorize objects.Service.Builder
removeTraffic(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
removeTrafficStatuses(int index)
Output only.Service.Builder
setBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.Service.Builder
setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)
Settings for the Binary Authorization feature.Service.Builder
setClient(String value)
Arbitrary identifier for the API client.Service.Builder
setClientBytes(com.google.protobuf.ByteString value)
Arbitrary identifier for the API client.Service.Builder
setClientVersion(String value)
Arbitrary version identifier for the API client.Service.Builder
setClientVersionBytes(com.google.protobuf.ByteString value)
Arbitrary version identifier for the API client.Service.Builder
setConditions(int index, Condition value)
Output only.Service.Builder
setConditions(int index, Condition.Builder builderForValue)
Output only.Service.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Service.Builder
setCreator(String value)
Output only.Service.Builder
setCreatorBytes(com.google.protobuf.ByteString value)
Output only.Service.Builder
setCustomAudiences(int index, String value)
One or more custom audiences that you want this service to support.Service.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Service.Builder
setDescription(String value)
User-provided description of the Service.Service.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the Service.Service.Builder
setEtag(String value)
Output only.Service.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Output only.Service.Builder
setExpireTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Service.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Service.Builder
setGeneration(long value)
Output only.Service.Builder
setIngress(IngressTraffic value)
Provides the ingress settings for this Service.Service.Builder
setIngressValue(int value)
Provides the ingress settings for this Service.Service.Builder
setLastModifier(String value)
Output only.Service.Builder
setLastModifierBytes(com.google.protobuf.ByteString value)
Output only.Service.Builder
setLatestCreatedRevision(String value)
Output only.Service.Builder
setLatestCreatedRevisionBytes(com.google.protobuf.ByteString value)
Output only.Service.Builder
setLatestReadyRevision(String value)
Output only.Service.Builder
setLatestReadyRevisionBytes(com.google.protobuf.ByteString value)
Output only.Service.Builder
setLaunchStage(com.google.api.LaunchStage value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Service.Builder
setLaunchStageValue(int value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Service.Builder
setName(String value)
The fully qualified name of this Service.Service.Builder
setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of this Service.Service.Builder
setObservedGeneration(long value)
Output only.Service.Builder
setReconciling(boolean value)
Output only.Service.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Service.Builder
setSatisfiesPzs(boolean value)
Output only.Service.Builder
setTemplate(RevisionTemplate value)
Required.Service.Builder
setTemplate(RevisionTemplate.Builder builderForValue)
Required.Service.Builder
setTerminalCondition(Condition value)
Output only.Service.Builder
setTerminalCondition(Condition.Builder builderForValue)
Output only.Service.Builder
setTraffic(int index, TrafficTarget value)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
setTraffic(int index, TrafficTarget.Builder builderForValue)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.Service.Builder
setTrafficStatuses(int index, TrafficTargetStatus value)
Output only.Service.Builder
setTrafficStatuses(int index, TrafficTargetStatus.Builder builderForValue)
Output only.Service.Builder
setUid(String value)
Output only.Service.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Service.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Service.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Service.Builder
setUri(String value)
Output only.Service.Builder
setUriBytes(com.google.protobuf.ByteString value)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
clear
public Service.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
getDefaultInstanceForType
public Service getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
setField
public Service.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
clearField
public Service.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
clearOneof
public Service.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
setRepeatedField
public Service.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
addRepeatedField
public Service.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
mergeFrom
public Service.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.Builder>
-
mergeFrom
public Service.Builder mergeFrom(Service other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
mergeFrom
public Service.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.Builder>
- Throws:
IOException
-
getName
public String getName()
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
string name = 1;
- Specified by:
getName
in interfaceServiceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
string name = 1;
- Specified by:
getNameBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for name.
-
setName
public Service.Builder setName(String value)
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Service.Builder clearName()
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Service.Builder setNameBytes(com.google.protobuf.ByteString value)
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Specified by:
getDescription
in interfaceServiceOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Service.Builder setDescription(String value)
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Service.Builder clearDescription()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Service.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceServiceOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Service.Builder setUid(String value)
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Service.Builder clearUid()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Service.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getGeneration
public long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGeneration
in interfaceServiceOrBuilder
- Returns:
- The generation.
-
setGeneration
public Service.Builder setGeneration(long value)
Output only. A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
public Service.Builder clearGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ServiceOrBuilder
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsCount
in interfaceServiceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
containsLabels
in interfaceServiceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceServiceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsMap
in interfaceServiceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsOrDefault
in interfaceServiceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsOrThrow
in interfaceServiceOrBuilder
-
clearLabels
public Service.Builder clearLabels()
-
removeLabels
public Service.Builder removeLabels(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Service.Builder putLabels(String key, String value)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
-
putAllLabels
public Service.Builder putAllLabels(Map<String,String> values)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ServiceOrBuilder
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsCount
in interfaceServiceOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
containsAnnotations
in interfaceServiceOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceServiceOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsMap
in interfaceServiceOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsOrDefault
in interfaceServiceOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsOrThrow
in interfaceServiceOrBuilder
-
clearAnnotations
public Service.Builder clearAnnotations()
-
removeAnnotations
public Service.Builder removeAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Service.Builder putAnnotations(String key, String value)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
-
putAllAnnotations
public Service.Builder putAllAnnotations(Map<String,String> values)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceServiceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceServiceOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Service.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Service.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Service.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Service.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceServiceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceServiceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceServiceOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Service.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Service.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Service.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Service.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceServiceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceServiceOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceServiceOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
public Service.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeleteTime
public Service.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeleteTime
public Service.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeleteTime
public Service.Builder clearDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceServiceOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceServiceOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceServiceOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public Service.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setExpireTime
public Service.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeExpireTime
public Service.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearExpireTime
public Service.Builder clearExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceServiceOrBuilder
-
getCreator
public String getCreator()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreator
in interfaceServiceOrBuilder
- Returns:
- The creator.
-
getCreatorBytes
public com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreatorBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for creator.
-
setCreator
public Service.Builder setCreator(String value)
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The creator to set.- Returns:
- This builder for chaining.
-
clearCreator
public Service.Builder clearCreator()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setCreatorBytes
public Service.Builder setCreatorBytes(com.google.protobuf.ByteString value)
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for creator to set.- Returns:
- This builder for chaining.
-
getLastModifier
public String getLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastModifier
in interfaceServiceOrBuilder
- Returns:
- The lastModifier.
-
getLastModifierBytes
public com.google.protobuf.ByteString getLastModifierBytes()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastModifierBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for lastModifier.
-
setLastModifier
public Service.Builder setLastModifier(String value)
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The lastModifier to set.- Returns:
- This builder for chaining.
-
clearLastModifier
public Service.Builder clearLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setLastModifierBytes
public Service.Builder setLastModifierBytes(com.google.protobuf.ByteString value)
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for lastModifier to set.- Returns:
- This builder for chaining.
-
getClient
public String getClient()
Arbitrary identifier for the API client.
string client = 13;
- Specified by:
getClient
in interfaceServiceOrBuilder
- Returns:
- The client.
-
getClientBytes
public com.google.protobuf.ByteString getClientBytes()
Arbitrary identifier for the API client.
string client = 13;
- Specified by:
getClientBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for client.
-
setClient
public Service.Builder setClient(String value)
Arbitrary identifier for the API client.
string client = 13;
- Parameters:
value
- The client to set.- Returns:
- This builder for chaining.
-
clearClient
public Service.Builder clearClient()
Arbitrary identifier for the API client.
string client = 13;
- Returns:
- This builder for chaining.
-
setClientBytes
public Service.Builder setClientBytes(com.google.protobuf.ByteString value)
Arbitrary identifier for the API client.
string client = 13;
- Parameters:
value
- The bytes for client to set.- Returns:
- This builder for chaining.
-
getClientVersion
public String getClientVersion()
Arbitrary version identifier for the API client.
string client_version = 14;
- Specified by:
getClientVersion
in interfaceServiceOrBuilder
- Returns:
- The clientVersion.
-
getClientVersionBytes
public com.google.protobuf.ByteString getClientVersionBytes()
Arbitrary version identifier for the API client.
string client_version = 14;
- Specified by:
getClientVersionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for clientVersion.
-
setClientVersion
public Service.Builder setClientVersion(String value)
Arbitrary version identifier for the API client.
string client_version = 14;
- Parameters:
value
- The clientVersion to set.- Returns:
- This builder for chaining.
-
clearClientVersion
public Service.Builder clearClientVersion()
Arbitrary version identifier for the API client.
string client_version = 14;
- Returns:
- This builder for chaining.
-
setClientVersionBytes
public Service.Builder setClientVersionBytes(com.google.protobuf.ByteString value)
Arbitrary version identifier for the API client.
string client_version = 14;
- Parameters:
value
- The bytes for clientVersion to set.- Returns:
- This builder for chaining.
-
getIngressValue
public int getIngressValue()
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Specified by:
getIngressValue
in interfaceServiceOrBuilder
- Returns:
- The enum numeric value on the wire for ingress.
-
setIngressValue
public Service.Builder setIngressValue(int value)
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Parameters:
value
- The enum numeric value on the wire for ingress to set.- Returns:
- This builder for chaining.
-
getIngress
public IngressTraffic getIngress()
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Specified by:
getIngress
in interfaceServiceOrBuilder
- Returns:
- The ingress.
-
setIngress
public Service.Builder setIngress(IngressTraffic value)
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Parameters:
value
- The ingress to set.- Returns:
- This builder for chaining.
-
clearIngress
public Service.Builder clearIngress()
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Returns:
- This builder for chaining.
-
getLaunchStageValue
public int getLaunchStageValue()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Specified by:
getLaunchStageValue
in interfaceServiceOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
public Service.Builder setLaunchStageValue(int value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Parameters:
value
- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
public com.google.api.LaunchStage getLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Specified by:
getLaunchStage
in interfaceServiceOrBuilder
- Returns:
- The launchStage.
-
setLaunchStage
public Service.Builder setLaunchStage(com.google.api.LaunchStage value)
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Parameters:
value
- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
public Service.Builder clearLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Returns:
- This builder for chaining.
-
hasBinaryAuthorization
public boolean hasBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- Specified by:
hasBinaryAuthorization
in interfaceServiceOrBuilder
- Returns:
- Whether the binaryAuthorization field is set.
-
getBinaryAuthorization
public BinaryAuthorization getBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- Specified by:
getBinaryAuthorization
in interfaceServiceOrBuilder
- Returns:
- The binaryAuthorization.
-
setBinaryAuthorization
public Service.Builder setBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
-
setBinaryAuthorization
public Service.Builder setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
-
mergeBinaryAuthorization
public Service.Builder mergeBinaryAuthorization(BinaryAuthorization value)
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
-
clearBinaryAuthorization
public Service.Builder clearBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
-
getBinaryAuthorizationBuilder
public BinaryAuthorization.Builder getBinaryAuthorizationBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
-
getBinaryAuthorizationOrBuilder
public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- Specified by:
getBinaryAuthorizationOrBuilder
in interfaceServiceOrBuilder
-
hasTemplate
public boolean hasTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasTemplate
in interfaceServiceOrBuilder
- Returns:
- Whether the template field is set.
-
getTemplate
public RevisionTemplate getTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTemplate
in interfaceServiceOrBuilder
- Returns:
- The template.
-
setTemplate
public Service.Builder setTemplate(RevisionTemplate value)
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
-
setTemplate
public Service.Builder setTemplate(RevisionTemplate.Builder builderForValue)
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
-
mergeTemplate
public Service.Builder mergeTemplate(RevisionTemplate value)
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
-
clearTemplate
public Service.Builder clearTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
-
getTemplateBuilder
public RevisionTemplate.Builder getTemplateBuilder()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
-
getTemplateOrBuilder
public RevisionTemplateOrBuilder getTemplateOrBuilder()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTemplateOrBuilder
in interfaceServiceOrBuilder
-
getTrafficList
public List<TrafficTarget> getTrafficList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficList
in interfaceServiceOrBuilder
-
getTrafficCount
public int getTrafficCount()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficCount
in interfaceServiceOrBuilder
-
getTraffic
public TrafficTarget getTraffic(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTraffic
in interfaceServiceOrBuilder
-
setTraffic
public Service.Builder setTraffic(int index, TrafficTarget value)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
setTraffic
public Service.Builder setTraffic(int index, TrafficTarget.Builder builderForValue)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
addTraffic
public Service.Builder addTraffic(TrafficTarget value)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
addTraffic
public Service.Builder addTraffic(int index, TrafficTarget value)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
addTraffic
public Service.Builder addTraffic(TrafficTarget.Builder builderForValue)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
addTraffic
public Service.Builder addTraffic(int index, TrafficTarget.Builder builderForValue)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
addAllTraffic
public Service.Builder addAllTraffic(Iterable<? extends TrafficTarget> values)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
clearTraffic
public Service.Builder clearTraffic()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
removeTraffic
public Service.Builder removeTraffic(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
getTrafficBuilder
public TrafficTarget.Builder getTrafficBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
getTrafficOrBuilder
public TrafficTargetOrBuilder getTrafficOrBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficOrBuilder
in interfaceServiceOrBuilder
-
getTrafficOrBuilderList
public List<? extends TrafficTargetOrBuilder> getTrafficOrBuilderList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficOrBuilderList
in interfaceServiceOrBuilder
-
addTrafficBuilder
public TrafficTarget.Builder addTrafficBuilder()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
addTrafficBuilder
public TrafficTarget.Builder addTrafficBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
getTrafficBuilderList
public List<TrafficTarget.Builder> getTrafficBuilderList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
-
getObservedGeneration
public long getObservedGeneration()
Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getObservedGeneration
in interfaceServiceOrBuilder
- Returns:
- The observedGeneration.
-
setObservedGeneration
public Service.Builder setObservedGeneration(long value)
Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The observedGeneration to set.- Returns:
- This builder for chaining.
-
clearObservedGeneration
public Service.Builder clearObservedGeneration()
Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasTerminalCondition
public boolean hasTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTerminalCondition
in interfaceServiceOrBuilder
- Returns:
- Whether the terminalCondition field is set.
-
getTerminalCondition
public Condition getTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerminalCondition
in interfaceServiceOrBuilder
- Returns:
- The terminalCondition.
-
setTerminalCondition
public Service.Builder setTerminalCondition(Condition value)
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTerminalCondition
public Service.Builder setTerminalCondition(Condition.Builder builderForValue)
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeTerminalCondition
public Service.Builder mergeTerminalCondition(Condition value)
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTerminalCondition
public Service.Builder clearTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTerminalConditionBuilder
public Condition.Builder getTerminalConditionBuilder()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTerminalConditionOrBuilder
public ConditionOrBuilder getTerminalConditionOrBuilder()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerminalConditionOrBuilder
in interfaceServiceOrBuilder
-
getConditionsList
public List<Condition> getConditionsList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsList
in interfaceServiceOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsCount
in interfaceServiceOrBuilder
-
getConditions
public Condition getConditions(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditions
in interfaceServiceOrBuilder
-
setConditions
public Service.Builder setConditions(int index, Condition value)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setConditions
public Service.Builder setConditions(int index, Condition.Builder builderForValue)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Service.Builder addConditions(Condition value)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Service.Builder addConditions(int index, Condition value)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Service.Builder addConditions(Condition.Builder builderForValue)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Service.Builder addConditions(int index, Condition.Builder builderForValue)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllConditions
public Service.Builder addAllConditions(Iterable<? extends Condition> values)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearConditions
public Service.Builder clearConditions()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeConditions
public Service.Builder removeConditions(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilder
public Condition.Builder getConditionsBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilder
in interfaceServiceOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilderList
in interfaceServiceOrBuilder
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilderList
public List<Condition.Builder> getConditionsBuilderList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLatestReadyRevision
public String getLatestReadyRevision()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestReadyRevision
in interfaceServiceOrBuilder
- Returns:
- The latestReadyRevision.
-
getLatestReadyRevisionBytes
public com.google.protobuf.ByteString getLatestReadyRevisionBytes()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestReadyRevisionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for latestReadyRevision.
-
setLatestReadyRevision
public Service.Builder setLatestReadyRevision(String value)
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The latestReadyRevision to set.- Returns:
- This builder for chaining.
-
clearLatestReadyRevision
public Service.Builder clearLatestReadyRevision()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setLatestReadyRevisionBytes
public Service.Builder setLatestReadyRevisionBytes(com.google.protobuf.ByteString value)
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for latestReadyRevision to set.- Returns:
- This builder for chaining.
-
getLatestCreatedRevision
public String getLatestCreatedRevision()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestCreatedRevision
in interfaceServiceOrBuilder
- Returns:
- The latestCreatedRevision.
-
getLatestCreatedRevisionBytes
public com.google.protobuf.ByteString getLatestCreatedRevisionBytes()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestCreatedRevisionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for latestCreatedRevision.
-
setLatestCreatedRevision
public Service.Builder setLatestCreatedRevision(String value)
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The latestCreatedRevision to set.- Returns:
- This builder for chaining.
-
clearLatestCreatedRevision
public Service.Builder clearLatestCreatedRevision()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setLatestCreatedRevisionBytes
public Service.Builder setLatestCreatedRevisionBytes(com.google.protobuf.ByteString value)
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for latestCreatedRevision to set.- Returns:
- This builder for chaining.
-
getTrafficStatusesList
public List<TrafficTargetStatus> getTrafficStatusesList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesList
in interfaceServiceOrBuilder
-
getTrafficStatusesCount
public int getTrafficStatusesCount()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesCount
in interfaceServiceOrBuilder
-
getTrafficStatuses
public TrafficTargetStatus getTrafficStatuses(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatuses
in interfaceServiceOrBuilder
-
setTrafficStatuses
public Service.Builder setTrafficStatuses(int index, TrafficTargetStatus value)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTrafficStatuses
public Service.Builder setTrafficStatuses(int index, TrafficTargetStatus.Builder builderForValue)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrafficStatuses
public Service.Builder addTrafficStatuses(TrafficTargetStatus value)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrafficStatuses
public Service.Builder addTrafficStatuses(int index, TrafficTargetStatus value)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrafficStatuses
public Service.Builder addTrafficStatuses(TrafficTargetStatus.Builder builderForValue)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrafficStatuses
public Service.Builder addTrafficStatuses(int index, TrafficTargetStatus.Builder builderForValue)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllTrafficStatuses
public Service.Builder addAllTrafficStatuses(Iterable<? extends TrafficTargetStatus> values)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTrafficStatuses
public Service.Builder clearTrafficStatuses()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeTrafficStatuses
public Service.Builder removeTrafficStatuses(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrafficStatusesBuilder
public TrafficTargetStatus.Builder getTrafficStatusesBuilder(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrafficStatusesOrBuilder
public TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesOrBuilder
in interfaceServiceOrBuilder
-
getTrafficStatusesOrBuilderList
public List<? extends TrafficTargetStatusOrBuilder> getTrafficStatusesOrBuilderList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesOrBuilderList
in interfaceServiceOrBuilder
-
addTrafficStatusesBuilder
public TrafficTargetStatus.Builder addTrafficStatusesBuilder()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrafficStatusesBuilder
public TrafficTargetStatus.Builder addTrafficStatusesBuilder(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrafficStatusesBuilderList
public List<TrafficTargetStatus.Builder> getTrafficStatusesBuilderList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUri
public String getUri()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUri
in interfaceServiceOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUriBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for uri.
-
setUri
public Service.Builder setUri(String value)
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public Service.Builder clearUri()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUriBytes
public Service.Builder setUriBytes(com.google.protobuf.ByteString value)
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getCustomAudiencesList
public com.google.protobuf.ProtocolStringList getCustomAudiencesList()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiencesList
in interfaceServiceOrBuilder
- Returns:
- A list containing the customAudiences.
-
getCustomAudiencesCount
public int getCustomAudiencesCount()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiencesCount
in interfaceServiceOrBuilder
- Returns:
- The count of customAudiences.
-
getCustomAudiences
public String getCustomAudiences(int index)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiences
in interfaceServiceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The customAudiences at the given index.
-
getCustomAudiencesBytes
public com.google.protobuf.ByteString getCustomAudiencesBytes(int index)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiencesBytes
in interfaceServiceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the customAudiences at the given index.
-
setCustomAudiences
public Service.Builder setCustomAudiences(int index, String value)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Parameters:
index
- The index to set the value at.value
- The customAudiences to set.- Returns:
- This builder for chaining.
-
addCustomAudiences
public Service.Builder addCustomAudiences(String value)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Parameters:
value
- The customAudiences to add.- Returns:
- This builder for chaining.
-
addAllCustomAudiences
public Service.Builder addAllCustomAudiences(Iterable<String> values)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Parameters:
values
- The customAudiences to add.- Returns:
- This builder for chaining.
-
clearCustomAudiences
public Service.Builder clearCustomAudiences()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Returns:
- This builder for chaining.
-
addCustomAudiencesBytes
public Service.Builder addCustomAudiencesBytes(com.google.protobuf.ByteString value)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Parameters:
value
- The bytes of the customAudiences to add.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSatisfiesPzs
in interfaceServiceOrBuilder
- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Service.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Service.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getReconciling
public boolean getReconciling()
Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReconciling
in interfaceServiceOrBuilder
- Returns:
- The reconciling.
-
setReconciling
public Service.Builder setReconciling(boolean value)
Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
public Service.Builder clearReconciling()
Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtag
in interfaceServiceOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtagBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public Service.Builder setEtag(String value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Service.Builder clearEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEtagBytes
public Service.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
mergeUnknownFields
public final Service.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Builder>
-
-