Package com.google.cloud.run.v2
Class Revision.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
-
- com.google.cloud.run.v2.Revision.Builder
-
- All Implemented Interfaces:
RevisionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Revision
public static final class Revision.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder> implements RevisionOrBuilder
A Revision is an immutable snapshot of code and configuration. A Revision references a container image. Revisions are only created by updates to its parent Service.
Protobuf typegoogle.cloud.run.v2.Revision
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Revision.Builder
addAllConditions(Iterable<? extends Condition> values)
Output only.Revision.Builder
addAllContainers(Iterable<? extends Container> values)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
addAllVolumes(Iterable<? extends Volume> values)
A list of Volumes to make available to containers.Revision.Builder
addConditions(int index, Condition value)
Output only.Revision.Builder
addConditions(int index, Condition.Builder builderForValue)
Output only.Revision.Builder
addConditions(Condition value)
Output only.Revision.Builder
addConditions(Condition.Builder builderForValue)
Output only.Condition.Builder
addConditionsBuilder()
Output only.Condition.Builder
addConditionsBuilder(int index)
Output only.Revision.Builder
addContainers(int index, Container value)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
addContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
addContainers(Container value)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
addContainers(Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this Revision.Container.Builder
addContainersBuilder()
Holds the single container that defines the unit of execution for this Revision.Container.Builder
addContainersBuilder(int index)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Revision.Builder
addVolumes(int index, Volume value)
A list of Volumes to make available to containers.Revision.Builder
addVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.Revision.Builder
addVolumes(Volume value)
A list of Volumes to make available to containers.Revision.Builder
addVolumes(Volume.Builder builderForValue)
A list of Volumes to make available to containers.Volume.Builder
addVolumesBuilder()
A list of Volumes to make available to containers.Volume.Builder
addVolumesBuilder(int index)
A list of Volumes to make available to containers.Revision
build()
Revision
buildPartial()
Revision.Builder
clear()
Revision.Builder
clearAnnotations()
Revision.Builder
clearConditions()
Output only.Revision.Builder
clearContainers()
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
clearCreateTime()
Output only.Revision.Builder
clearDeleteTime()
Output only.Revision.Builder
clearEncryptionKey()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image.Revision.Builder
clearEncryptionKeyRevocationAction()
The action to take if the encryption key is revoked.Revision.Builder
clearEncryptionKeyShutdownDuration()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.Revision.Builder
clearEtag()
Output only.Revision.Builder
clearExecutionEnvironment()
The execution environment being used to host this Revision.Revision.Builder
clearExpireTime()
Output only.Revision.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Revision.Builder
clearGeneration()
Output only.Revision.Builder
clearLabels()
Revision.Builder
clearLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Revision.Builder
clearLogUri()
Output only.Revision.Builder
clearMaxInstanceRequestConcurrency()
Sets the maximum number of requests that each serving instance can receive.Revision.Builder
clearName()
Output only.Revision.Builder
clearObservedGeneration()
Output only.Revision.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Revision.Builder
clearReconciling()
Output only.Revision.Builder
clearSatisfiesPzs()
Output only.Revision.Builder
clearScaling()
Scaling settings for this revision.Revision.Builder
clearService()
Output only.Revision.Builder
clearServiceAccount()
Email address of the IAM service account associated with the revision of the service.Revision.Builder
clearSessionAffinity()
Enable session affinity.Revision.Builder
clearTimeout()
Max allowed time for an instance to respond to a request.Revision.Builder
clearUid()
Output only.Revision.Builder
clearUpdateTime()
Output only.Revision.Builder
clearVolumes()
A list of Volumes to make available to containers.Revision.Builder
clearVpcAccess()
VPC Access configuration for this Revision.Revision.Builder
clone()
boolean
containsAnnotations(String key)
Output only.boolean
containsLabels(String key)
Output only.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Output only.Map<String,String>
getAnnotationsMap()
Output only.String
getAnnotationsOrDefault(String key, String defaultValue)
Output only.String
getAnnotationsOrThrow(String key)
Output only.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.Container
getContainers(int index)
Holds the single container that defines the unit of execution for this Revision.Container.Builder
getContainersBuilder(int index)
Holds the single container that defines the unit of execution for this Revision.List<Container.Builder>
getContainersBuilderList()
Holds the single container that defines the unit of execution for this Revision.int
getContainersCount()
Holds the single container that defines the unit of execution for this Revision.List<Container>
getContainersList()
Holds the single container that defines the unit of execution for this Revision.ContainerOrBuilder
getContainersOrBuilder(int index)
Holds the single container that defines the unit of execution for this Revision.List<? extends ContainerOrBuilder>
getContainersOrBuilderList()
Holds the single container that defines the unit of execution for this Revision.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Revision
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEncryptionKey()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image.com.google.protobuf.ByteString
getEncryptionKeyBytes()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image.EncryptionKeyRevocationAction
getEncryptionKeyRevocationAction()
The action to take if the encryption key is revoked.int
getEncryptionKeyRevocationActionValue()
The action to take if the encryption key is revoked.com.google.protobuf.Duration
getEncryptionKeyShutdownDuration()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.com.google.protobuf.Duration.Builder
getEncryptionKeyShutdownDurationBuilder()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.com.google.protobuf.DurationOrBuilder
getEncryptionKeyShutdownDurationOrBuilder()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.ExecutionEnvironment
getExecutionEnvironment()
The execution environment being used to host this Revision.int
getExecutionEnvironmentValue()
The execution environment being used to host this Revision.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.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Output only.Map<String,String>
getLabelsMap()
Output only.String
getLabelsOrDefault(String key, String defaultValue)
Output only.String
getLabelsOrThrow(String key)
Output only.com.google.api.LaunchStage
getLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).int
getLaunchStageValue()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).String
getLogUri()
Output only.com.google.protobuf.ByteString
getLogUriBytes()
Output only.int
getMaxInstanceRequestConcurrency()
Sets the maximum number of requests that each serving instance can receive.Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.long
getObservedGeneration()
Output only.boolean
getReconciling()
Output only.boolean
getSatisfiesPzs()
Output only.RevisionScaling
getScaling()
Scaling settings for this revision.RevisionScaling.Builder
getScalingBuilder()
Scaling settings for this revision.RevisionScalingOrBuilder
getScalingOrBuilder()
Scaling settings for this revision.String
getService()
Output only.String
getServiceAccount()
Email address of the IAM service account associated with the revision of the service.com.google.protobuf.ByteString
getServiceAccountBytes()
Email address of the IAM service account associated with the revision of the service.com.google.protobuf.ByteString
getServiceBytes()
Output only.boolean
getSessionAffinity()
Enable session affinity.com.google.protobuf.Duration
getTimeout()
Max allowed time for an instance to respond to a request.com.google.protobuf.Duration.Builder
getTimeoutBuilder()
Max allowed time for an instance to respond to a request.com.google.protobuf.DurationOrBuilder
getTimeoutOrBuilder()
Max allowed time for an instance to respond to a request.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.Volume
getVolumes(int index)
A list of Volumes to make available to containers.Volume.Builder
getVolumesBuilder(int index)
A list of Volumes to make available to containers.List<Volume.Builder>
getVolumesBuilderList()
A list of Volumes to make available to containers.int
getVolumesCount()
A list of Volumes to make available to containers.List<Volume>
getVolumesList()
A list of Volumes to make available to containers.VolumeOrBuilder
getVolumesOrBuilder(int index)
A list of Volumes to make available to containers.List<? extends VolumeOrBuilder>
getVolumesOrBuilderList()
A list of Volumes to make available to containers.VpcAccess
getVpcAccess()
VPC Access configuration for this Revision.VpcAccess.Builder
getVpcAccessBuilder()
VPC Access configuration for this Revision.VpcAccessOrBuilder
getVpcAccessOrBuilder()
VPC Access configuration for this Revision.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasEncryptionKeyShutdownDuration()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.boolean
hasExpireTime()
Output only.boolean
hasScaling()
Scaling settings for this revision.boolean
hasTimeout()
Max allowed time for an instance to respond to a request.boolean
hasUpdateTime()
Output only.boolean
hasVpcAccess()
VPC Access configuration for this Revision.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()
Revision.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
mergeEncryptionKeyShutdownDuration(com.google.protobuf.Duration value)
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.Revision.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
mergeFrom(Revision other)
Revision.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Revision.Builder
mergeFrom(com.google.protobuf.Message other)
Revision.Builder
mergeScaling(RevisionScaling value)
Scaling settings for this revision.Revision.Builder
mergeTimeout(com.google.protobuf.Duration value)
Max allowed time for an instance to respond to a request.Revision.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Revision.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
mergeVpcAccess(VpcAccess value)
VPC Access configuration for this Revision.Revision.Builder
putAllAnnotations(Map<String,String> values)
Output only.Revision.Builder
putAllLabels(Map<String,String> values)
Output only.Revision.Builder
putAnnotations(String key, String value)
Output only.Revision.Builder
putLabels(String key, String value)
Output only.Revision.Builder
removeAnnotations(String key)
Output only.Revision.Builder
removeConditions(int index)
Output only.Revision.Builder
removeContainers(int index)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
removeLabels(String key)
Output only.Revision.Builder
removeVolumes(int index)
A list of Volumes to make available to containers.Revision.Builder
setConditions(int index, Condition value)
Output only.Revision.Builder
setConditions(int index, Condition.Builder builderForValue)
Output only.Revision.Builder
setContainers(int index, Container value)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
setContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this Revision.Revision.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Revision.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Revision.Builder
setEncryptionKey(String value)
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image.Revision.Builder
setEncryptionKeyBytes(com.google.protobuf.ByteString value)
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image.Revision.Builder
setEncryptionKeyRevocationAction(EncryptionKeyRevocationAction value)
The action to take if the encryption key is revoked.Revision.Builder
setEncryptionKeyRevocationActionValue(int value)
The action to take if the encryption key is revoked.Revision.Builder
setEncryptionKeyShutdownDuration(com.google.protobuf.Duration value)
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.Revision.Builder
setEncryptionKeyShutdownDuration(com.google.protobuf.Duration.Builder builderForValue)
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances.Revision.Builder
setEtag(String value)
Output only.Revision.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Output only.Revision.Builder
setExecutionEnvironment(ExecutionEnvironment value)
The execution environment being used to host this Revision.Revision.Builder
setExecutionEnvironmentValue(int value)
The execution environment being used to host this Revision.Revision.Builder
setExpireTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Revision.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Revision.Builder
setGeneration(long value)
Output only.Revision.Builder
setLaunchStage(com.google.api.LaunchStage value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Revision.Builder
setLaunchStageValue(int value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Revision.Builder
setLogUri(String value)
Output only.Revision.Builder
setLogUriBytes(com.google.protobuf.ByteString value)
Output only.Revision.Builder
setMaxInstanceRequestConcurrency(int value)
Sets the maximum number of requests that each serving instance can receive.Revision.Builder
setName(String value)
Output only.Revision.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Revision.Builder
setObservedGeneration(long value)
Output only.Revision.Builder
setReconciling(boolean value)
Output only.Revision.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Revision.Builder
setSatisfiesPzs(boolean value)
Output only.Revision.Builder
setScaling(RevisionScaling value)
Scaling settings for this revision.Revision.Builder
setScaling(RevisionScaling.Builder builderForValue)
Scaling settings for this revision.Revision.Builder
setService(String value)
Output only.Revision.Builder
setServiceAccount(String value)
Email address of the IAM service account associated with the revision of the service.Revision.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
Email address of the IAM service account associated with the revision of the service.Revision.Builder
setServiceBytes(com.google.protobuf.ByteString value)
Output only.Revision.Builder
setSessionAffinity(boolean value)
Enable session affinity.Revision.Builder
setTimeout(com.google.protobuf.Duration value)
Max allowed time for an instance to respond to a request.Revision.Builder
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Max allowed time for an instance to respond to a request.Revision.Builder
setUid(String value)
Output only.Revision.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Revision.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Revision.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Revision.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Revision.Builder
setVolumes(int index, Volume value)
A list of Volumes to make available to containers.Revision.Builder
setVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.Revision.Builder
setVpcAccess(VpcAccess value)
VPC Access configuration for this Revision.Revision.Builder
setVpcAccess(VpcAccess.Builder builderForValue)
VPC Access configuration for this Revision.-
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<Revision.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
-
clear
public Revision.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<Revision.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<Revision.Builder>
-
getDefaultInstanceForType
public Revision getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Revision build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Revision buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Revision.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<Revision.Builder>
-
setField
public Revision.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<Revision.Builder>
-
clearField
public Revision.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<Revision.Builder>
-
clearOneof
public Revision.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<Revision.Builder>
-
setRepeatedField
public Revision.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<Revision.Builder>
-
addRepeatedField
public Revision.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<Revision.Builder>
-
mergeFrom
public Revision.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Revision.Builder>
-
mergeFrom
public Revision.Builder mergeFrom(Revision other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
-
mergeFrom
public Revision.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<Revision.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The unique name of this Revision.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceRevisionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The unique name of this Revision.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for name.
-
setName
public Revision.Builder setName(String value)
Output only. The unique name of this Revision.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Revision.Builder clearName()
Output only. The unique name of this Revision.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Revision.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The unique name of this Revision.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. Server assigned unique identifier for the Revision. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceRevisionOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the Revision. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Revision.Builder setUid(String value)
Output only. Server assigned unique identifier for the Revision. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Revision.Builder clearUid()
Output only. Server assigned unique identifier for the Revision. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Revision.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Server assigned unique identifier for the Revision. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.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.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGeneration
in interfaceRevisionOrBuilder
- Returns:
- The generation.
-
setGeneration
public Revision.Builder setGeneration(long value)
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
public Revision.Builder clearGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RevisionOrBuilder
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsCount
in interfaceRevisionOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsLabels
in interfaceRevisionOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceRevisionOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsMap
in interfaceRevisionOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrDefault
in interfaceRevisionOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrThrow
in interfaceRevisionOrBuilder
-
clearLabels
public Revision.Builder clearLabels()
-
removeLabels
public Revision.Builder removeLabels(String key)
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Revision.Builder putLabels(String key, String value)
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
putAllLabels
public Revision.Builder putAllLabels(Map<String,String> values)
Output only. 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.
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:RevisionOrBuilder
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsCount
in interfaceRevisionOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsAnnotations
in interfaceRevisionOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceRevisionOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsMap
in interfaceRevisionOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsOrDefault
in interfaceRevisionOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsOrThrow
in interfaceRevisionOrBuilder
-
clearAnnotations
public Revision.Builder clearAnnotations()
-
removeAnnotations
public Revision.Builder removeAnnotations(String key)
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Revision.Builder putAnnotations(String key, String value)
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
putAllAnnotations
public Revision.Builder putAllAnnotations(Map<String,String> values)
Output only. 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.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceRevisionOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceRevisionOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Revision.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Revision.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Revision.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Revision.Builder clearCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceRevisionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceRevisionOrBuilder
- 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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceRevisionOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Revision.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Revision.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Revision.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Revision.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.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 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceRevisionOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceRevisionOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceRevisionOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
public Revision.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeleteTime
public Revision.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeleteTime
public Revision.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeleteTime
public Revision.Builder clearDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceRevisionOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceRevisionOrBuilder
- 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. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceRevisionOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public Revision.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setExpireTime
public Revision.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeExpireTime
public Revision.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearExpireTime
public Revision.Builder clearExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.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. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.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. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceRevisionOrBuilder
-
getLaunchStageValue
public int getLaunchStageValue()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 10;
- Specified by:
getLaunchStageValue
in interfaceRevisionOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
public Revision.Builder setLaunchStageValue(int value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 10;
- 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 least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 10;
- Specified by:
getLaunchStage
in interfaceRevisionOrBuilder
- Returns:
- The launchStage.
-
setLaunchStage
public Revision.Builder setLaunchStage(com.google.api.LaunchStage value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 10;
- Parameters:
value
- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
public Revision.Builder clearLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 10;
- Returns:
- This builder for chaining.
-
getService
public String getService()
Output only. The name of the parent service.
string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getService
in interfaceRevisionOrBuilder
- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()
Output only. The name of the parent service.
string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getServiceBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for service.
-
setService
public Revision.Builder setService(String value)
Output only. The name of the parent service.
string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The service to set.- Returns:
- This builder for chaining.
-
clearService
public Revision.Builder clearService()
Output only. The name of the parent service.
string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setServiceBytes
public Revision.Builder setServiceBytes(com.google.protobuf.ByteString value)
Output only. The name of the parent service.
string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for service to set.- Returns:
- This builder for chaining.
-
hasScaling
public boolean hasScaling()
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
- Specified by:
hasScaling
in interfaceRevisionOrBuilder
- Returns:
- Whether the scaling field is set.
-
getScaling
public RevisionScaling getScaling()
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
- Specified by:
getScaling
in interfaceRevisionOrBuilder
- Returns:
- The scaling.
-
setScaling
public Revision.Builder setScaling(RevisionScaling value)
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
-
setScaling
public Revision.Builder setScaling(RevisionScaling.Builder builderForValue)
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
-
mergeScaling
public Revision.Builder mergeScaling(RevisionScaling value)
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
-
clearScaling
public Revision.Builder clearScaling()
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
-
getScalingBuilder
public RevisionScaling.Builder getScalingBuilder()
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
-
getScalingOrBuilder
public RevisionScalingOrBuilder getScalingOrBuilder()
Scaling settings for this revision.
.google.cloud.run.v2.RevisionScaling scaling = 12;
- Specified by:
getScalingOrBuilder
in interfaceRevisionOrBuilder
-
hasVpcAccess
public boolean hasVpcAccess()
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
- Specified by:
hasVpcAccess
in interfaceRevisionOrBuilder
- Returns:
- Whether the vpcAccess field is set.
-
getVpcAccess
public VpcAccess getVpcAccess()
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
- Specified by:
getVpcAccess
in interfaceRevisionOrBuilder
- Returns:
- The vpcAccess.
-
setVpcAccess
public Revision.Builder setVpcAccess(VpcAccess value)
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
-
setVpcAccess
public Revision.Builder setVpcAccess(VpcAccess.Builder builderForValue)
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
-
mergeVpcAccess
public Revision.Builder mergeVpcAccess(VpcAccess value)
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
-
clearVpcAccess
public Revision.Builder clearVpcAccess()
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
-
getVpcAccessBuilder
public VpcAccess.Builder getVpcAccessBuilder()
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
-
getVpcAccessOrBuilder
public VpcAccessOrBuilder getVpcAccessOrBuilder()
VPC Access configuration for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 13;
- Specified by:
getVpcAccessOrBuilder
in interfaceRevisionOrBuilder
-
getMaxInstanceRequestConcurrency
public int getMaxInstanceRequestConcurrency()
Sets the maximum number of requests that each serving instance can receive.
int32 max_instance_request_concurrency = 34;
- Specified by:
getMaxInstanceRequestConcurrency
in interfaceRevisionOrBuilder
- Returns:
- The maxInstanceRequestConcurrency.
-
setMaxInstanceRequestConcurrency
public Revision.Builder setMaxInstanceRequestConcurrency(int value)
Sets the maximum number of requests that each serving instance can receive.
int32 max_instance_request_concurrency = 34;
- Parameters:
value
- The maxInstanceRequestConcurrency to set.- Returns:
- This builder for chaining.
-
clearMaxInstanceRequestConcurrency
public Revision.Builder clearMaxInstanceRequestConcurrency()
Sets the maximum number of requests that each serving instance can receive.
int32 max_instance_request_concurrency = 34;
- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
- Specified by:
hasTimeout
in interfaceRevisionOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
- Specified by:
getTimeout
in interfaceRevisionOrBuilder
- Returns:
- The timeout.
-
setTimeout
public Revision.Builder setTimeout(com.google.protobuf.Duration value)
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
-
setTimeout
public Revision.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
-
mergeTimeout
public Revision.Builder mergeTimeout(com.google.protobuf.Duration value)
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
-
clearTimeout
public Revision.Builder clearTimeout()
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
-
getTimeoutBuilder
public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Max allowed time for an instance to respond to a request.
.google.protobuf.Duration timeout = 15;
- Specified by:
getTimeoutOrBuilder
in interfaceRevisionOrBuilder
-
getServiceAccount
public String getServiceAccount()
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
string service_account = 16;
- Specified by:
getServiceAccount
in interfaceRevisionOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
string service_account = 16;
- Specified by:
getServiceAccountBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public Revision.Builder setServiceAccount(String value)
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
string service_account = 16;
- Parameters:
value
- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public Revision.Builder clearServiceAccount()
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
string service_account = 16;
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public Revision.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
string service_account = 16;
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
getContainersList
public List<Container> getContainersList()
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
- Specified by:
getContainersList
in interfaceRevisionOrBuilder
-
getContainersCount
public int getContainersCount()
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
- Specified by:
getContainersCount
in interfaceRevisionOrBuilder
-
getContainers
public Container getContainers(int index)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
- Specified by:
getContainers
in interfaceRevisionOrBuilder
-
setContainers
public Revision.Builder setContainers(int index, Container value)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
setContainers
public Revision.Builder setContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
addContainers
public Revision.Builder addContainers(Container value)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
addContainers
public Revision.Builder addContainers(int index, Container value)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
addContainers
public Revision.Builder addContainers(Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
addContainers
public Revision.Builder addContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
addAllContainers
public Revision.Builder addAllContainers(Iterable<? extends Container> values)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
clearContainers
public Revision.Builder clearContainers()
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
removeContainers
public Revision.Builder removeContainers(int index)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
getContainersBuilder
public Container.Builder getContainersBuilder(int index)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
getContainersOrBuilder
public ContainerOrBuilder getContainersOrBuilder(int index)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
- Specified by:
getContainersOrBuilder
in interfaceRevisionOrBuilder
-
getContainersOrBuilderList
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
- Specified by:
getContainersOrBuilderList
in interfaceRevisionOrBuilder
-
addContainersBuilder
public Container.Builder addContainersBuilder()
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
addContainersBuilder
public Container.Builder addContainersBuilder(int index)
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
getContainersBuilderList
public List<Container.Builder> getContainersBuilderList()
Holds the single container that defines the unit of execution for this Revision.
repeated .google.cloud.run.v2.Container containers = 17;
-
getVolumesList
public List<Volume> getVolumesList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
- Specified by:
getVolumesList
in interfaceRevisionOrBuilder
-
getVolumesCount
public int getVolumesCount()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
- Specified by:
getVolumesCount
in interfaceRevisionOrBuilder
-
getVolumes
public Volume getVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
- Specified by:
getVolumes
in interfaceRevisionOrBuilder
-
setVolumes
public Revision.Builder setVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
setVolumes
public Revision.Builder setVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
addVolumes
public Revision.Builder addVolumes(Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
addVolumes
public Revision.Builder addVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
addVolumes
public Revision.Builder addVolumes(Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
addVolumes
public Revision.Builder addVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
addAllVolumes
public Revision.Builder addAllVolumes(Iterable<? extends Volume> values)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
clearVolumes
public Revision.Builder clearVolumes()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
removeVolumes
public Revision.Builder removeVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
getVolumesBuilder
public Volume.Builder getVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
getVolumesOrBuilder
public VolumeOrBuilder getVolumesOrBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
- Specified by:
getVolumesOrBuilder
in interfaceRevisionOrBuilder
-
getVolumesOrBuilderList
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
- Specified by:
getVolumesOrBuilderList
in interfaceRevisionOrBuilder
-
addVolumesBuilder
public Volume.Builder addVolumesBuilder()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
addVolumesBuilder
public Volume.Builder addVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
getVolumesBuilderList
public List<Volume.Builder> getVolumesBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 18;
-
getExecutionEnvironmentValue
public int getExecutionEnvironmentValue()
The execution environment being used to host this Revision.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
- Specified by:
getExecutionEnvironmentValue
in interfaceRevisionOrBuilder
- Returns:
- The enum numeric value on the wire for executionEnvironment.
-
setExecutionEnvironmentValue
public Revision.Builder setExecutionEnvironmentValue(int value)
The execution environment being used to host this Revision.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
- Parameters:
value
- The enum numeric value on the wire for executionEnvironment to set.- Returns:
- This builder for chaining.
-
getExecutionEnvironment
public ExecutionEnvironment getExecutionEnvironment()
The execution environment being used to host this Revision.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
- Specified by:
getExecutionEnvironment
in interfaceRevisionOrBuilder
- Returns:
- The executionEnvironment.
-
setExecutionEnvironment
public Revision.Builder setExecutionEnvironment(ExecutionEnvironment value)
The execution environment being used to host this Revision.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
- Parameters:
value
- The executionEnvironment to set.- Returns:
- This builder for chaining.
-
clearExecutionEnvironment
public Revision.Builder clearExecutionEnvironment()
The execution environment being used to host this Revision.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
- Returns:
- This builder for chaining.
-
getEncryptionKey
public String getEncryptionKey()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 21 [(.google.api.resource_reference) = { ... }
- Specified by:
getEncryptionKey
in interfaceRevisionOrBuilder
- Returns:
- The encryptionKey.
-
getEncryptionKeyBytes
public com.google.protobuf.ByteString getEncryptionKeyBytes()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 21 [(.google.api.resource_reference) = { ... }
- Specified by:
getEncryptionKeyBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for encryptionKey.
-
setEncryptionKey
public Revision.Builder setEncryptionKey(String value)
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 21 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The encryptionKey to set.- Returns:
- This builder for chaining.
-
clearEncryptionKey
public Revision.Builder clearEncryptionKey()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 21 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setEncryptionKeyBytes
public Revision.Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value)
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 21 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for encryptionKey to set.- Returns:
- This builder for chaining.
-
getEncryptionKeyRevocationActionValue
public int getEncryptionKeyRevocationActionValue()
The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
- Specified by:
getEncryptionKeyRevocationActionValue
in interfaceRevisionOrBuilder
- Returns:
- The enum numeric value on the wire for encryptionKeyRevocationAction.
-
setEncryptionKeyRevocationActionValue
public Revision.Builder setEncryptionKeyRevocationActionValue(int value)
The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
- Parameters:
value
- The enum numeric value on the wire for encryptionKeyRevocationAction to set.- Returns:
- This builder for chaining.
-
getEncryptionKeyRevocationAction
public EncryptionKeyRevocationAction getEncryptionKeyRevocationAction()
The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
- Specified by:
getEncryptionKeyRevocationAction
in interfaceRevisionOrBuilder
- Returns:
- The encryptionKeyRevocationAction.
-
setEncryptionKeyRevocationAction
public Revision.Builder setEncryptionKeyRevocationAction(EncryptionKeyRevocationAction value)
The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
- Parameters:
value
- The encryptionKeyRevocationAction to set.- Returns:
- This builder for chaining.
-
clearEncryptionKeyRevocationAction
public Revision.Builder clearEncryptionKeyRevocationAction()
The action to take if the encryption key is revoked.
.google.cloud.run.v2.EncryptionKeyRevocationAction encryption_key_revocation_action = 23;
- Returns:
- This builder for chaining.
-
hasEncryptionKeyShutdownDuration
public boolean hasEncryptionKeyShutdownDuration()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
- Specified by:
hasEncryptionKeyShutdownDuration
in interfaceRevisionOrBuilder
- Returns:
- Whether the encryptionKeyShutdownDuration field is set.
-
getEncryptionKeyShutdownDuration
public com.google.protobuf.Duration getEncryptionKeyShutdownDuration()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
- Specified by:
getEncryptionKeyShutdownDuration
in interfaceRevisionOrBuilder
- Returns:
- The encryptionKeyShutdownDuration.
-
setEncryptionKeyShutdownDuration
public Revision.Builder setEncryptionKeyShutdownDuration(com.google.protobuf.Duration value)
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
-
setEncryptionKeyShutdownDuration
public Revision.Builder setEncryptionKeyShutdownDuration(com.google.protobuf.Duration.Builder builderForValue)
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
-
mergeEncryptionKeyShutdownDuration
public Revision.Builder mergeEncryptionKeyShutdownDuration(com.google.protobuf.Duration value)
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
-
clearEncryptionKeyShutdownDuration
public Revision.Builder clearEncryptionKeyShutdownDuration()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
-
getEncryptionKeyShutdownDurationBuilder
public com.google.protobuf.Duration.Builder getEncryptionKeyShutdownDurationBuilder()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
-
getEncryptionKeyShutdownDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getEncryptionKeyShutdownDurationOrBuilder()
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
.google.protobuf.Duration encryption_key_shutdown_duration = 24;
- Specified by:
getEncryptionKeyShutdownDurationOrBuilder
in interfaceRevisionOrBuilder
-
getReconciling
public boolean getReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReconciling
in interfaceRevisionOrBuilder
- Returns:
- The reconciling.
-
setReconciling
public Revision.Builder setReconciling(boolean value)
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
public Revision.Builder clearReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Service.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getConditionsList
public List<Condition> getConditionsList()
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsList
in interfaceRevisionOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsCount
in interfaceRevisionOrBuilder
-
getConditions
public Condition getConditions(int index)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditions
in interfaceRevisionOrBuilder
-
setConditions
public Revision.Builder setConditions(int index, Condition value)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setConditions
public Revision.Builder setConditions(int index, Condition.Builder builderForValue)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Revision.Builder addConditions(Condition value)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Revision.Builder addConditions(int index, Condition value)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Revision.Builder addConditions(Condition.Builder builderForValue)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Revision.Builder addConditions(int index, Condition.Builder builderForValue)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllConditions
public Revision.Builder addAllConditions(Iterable<? extends Condition> values)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearConditions
public Revision.Builder clearConditions()
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeConditions
public Revision.Builder removeConditions(int index)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilder
public Condition.Builder getConditionsBuilder(int index)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilder
in interfaceRevisionOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilderList
in interfaceRevisionOrBuilder
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder()
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder(int index)
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilderList
public List<Condition.Builder> getConditionsBuilderList()
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getObservedGeneration
public long getObservedGeneration()
Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getObservedGeneration
in interfaceRevisionOrBuilder
- Returns:
- The observedGeneration.
-
setObservedGeneration
public Revision.Builder setObservedGeneration(long value)
Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The observedGeneration to set.- Returns:
- This builder for chaining.
-
clearObservedGeneration
public Revision.Builder clearObservedGeneration()
Output only. The generation of this Revision currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLogUri
public String getLogUri()
Output only. The Google Console URI to obtain logs for the Revision.
string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLogUri
in interfaceRevisionOrBuilder
- Returns:
- The logUri.
-
getLogUriBytes
public com.google.protobuf.ByteString getLogUriBytes()
Output only. The Google Console URI to obtain logs for the Revision.
string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLogUriBytes
in interfaceRevisionOrBuilder
- Returns:
- The bytes for logUri.
-
setLogUri
public Revision.Builder setLogUri(String value)
Output only. The Google Console URI to obtain logs for the Revision.
string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The logUri to set.- Returns:
- This builder for chaining.
-
clearLogUri
public Revision.Builder clearLogUri()
Output only. The Google Console URI to obtain logs for the Revision.
string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setLogUriBytes
public Revision.Builder setLogUriBytes(com.google.protobuf.ByteString value)
Output only. The Google Console URI to obtain logs for the Revision.
string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for logUri to set.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSatisfiesPzs
in interfaceRevisionOrBuilder
- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Revision.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Revision.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getSessionAffinity
public boolean getSessionAffinity()
Enable session affinity.
bool session_affinity = 38;
- Specified by:
getSessionAffinity
in interfaceRevisionOrBuilder
- Returns:
- The sessionAffinity.
-
setSessionAffinity
public Revision.Builder setSessionAffinity(boolean value)
Enable session affinity.
bool session_affinity = 38;
- Parameters:
value
- The sessionAffinity to set.- Returns:
- This builder for chaining.
-
clearSessionAffinity
public Revision.Builder clearSessionAffinity()
Enable session affinity.
bool session_affinity = 38;
- 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 interfaceRevisionOrBuilder
- 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 interfaceRevisionOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public Revision.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 Revision.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 Revision.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 Revision.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
-
mergeUnknownFields
public final Revision.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Revision.Builder>
-
-