Package com.google.cloud.run.v2
Class Service
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.run.v2.Service
-
- All Implemented Interfaces:
ServiceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Service extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classService.BuilderService acts as a top-level container that manages a set of configurations and revision templates which implement a network service.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Unstructured key value map that may be set by external tools to store and arbitrary metadata.booleancontainsLabels(String key)Unstructured key value map that can be used to organize and categorize objects.booleanequals(Object obj)Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()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.StringgetAnnotationsOrDefault(String key, String defaultValue)Unstructured key value map that may be set by external tools to store and arbitrary metadata.StringgetAnnotationsOrThrow(String key)Unstructured key value map that may be set by external tools to store and arbitrary metadata.BinaryAuthorizationgetBinaryAuthorization()Settings for the Binary Authorization feature.BinaryAuthorizationOrBuildergetBinaryAuthorizationOrBuilder()Settings for the Binary Authorization feature.StringgetClient()Arbitrary identifier for the API client.com.google.protobuf.ByteStringgetClientBytes()Arbitrary identifier for the API client.StringgetClientVersion()Arbitrary version identifier for the API client.com.google.protobuf.ByteStringgetClientVersionBytes()Arbitrary version identifier for the API client.ConditiongetConditions(int index)Output only.intgetConditionsCount()Output only.List<Condition>getConditionsList()Output only.ConditionOrBuildergetConditionsOrBuilder(int index)Output only.List<? extends ConditionOrBuilder>getConditionsOrBuilderList()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCreator()Output only.com.google.protobuf.ByteStringgetCreatorBytes()Output only.StringgetCustomAudiences(int index)One or more custom audiences that you want this service to support.com.google.protobuf.ByteStringgetCustomAudiencesBytes(int index)One or more custom audiences that you want this service to support.intgetCustomAudiencesCount()One or more custom audiences that you want this service to support.com.google.protobuf.ProtocolStringListgetCustomAudiencesList()One or more custom audiences that you want this service to support.static ServicegetDefaultInstance()ServicegetDefaultInstanceForType()com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.StringgetDescription()User-provided description of the Service.com.google.protobuf.ByteStringgetDescriptionBytes()User-provided description of the Service.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEtag()Output only.com.google.protobuf.ByteStringgetEtagBytes()Output only.com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.longgetGeneration()Output only.IngressTrafficgetIngress()Provides the ingress settings for this Service.intgetIngressValue()Provides the ingress settings for this Service.Map<String,String>getLabels()Deprecated.intgetLabelsCount()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.StringgetLabelsOrDefault(String key, String defaultValue)Unstructured key value map that can be used to organize and categorize objects.StringgetLabelsOrThrow(String key)Unstructured key value map that can be used to organize and categorize objects.StringgetLastModifier()Output only.com.google.protobuf.ByteStringgetLastModifierBytes()Output only.StringgetLatestCreatedRevision()Output only.com.google.protobuf.ByteStringgetLatestCreatedRevisionBytes()Output only.StringgetLatestReadyRevision()Output only.com.google.protobuf.ByteStringgetLatestReadyRevisionBytes()Output only.com.google.api.LaunchStagegetLaunchStage()The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).intgetLaunchStageValue()The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).StringgetName()The fully qualified name of this Service.com.google.protobuf.ByteStringgetNameBytes()The fully qualified name of this Service.longgetObservedGeneration()Output only.com.google.protobuf.Parser<Service>getParserForType()booleangetReconciling()Output only.booleangetSatisfiesPzs()Output only.intgetSerializedSize()RevisionTemplategetTemplate()Required.RevisionTemplateOrBuildergetTemplateOrBuilder()Required.ConditiongetTerminalCondition()Output only.ConditionOrBuildergetTerminalConditionOrBuilder()Output only.TrafficTargetgetTraffic(int index)Specifies how to distribute traffic over a collection of Revisions belonging to the Service.intgetTrafficCount()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.TrafficTargetOrBuildergetTrafficOrBuilder(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.TrafficTargetStatusgetTrafficStatuses(int index)Output only.intgetTrafficStatusesCount()Output only.List<TrafficTargetStatus>getTrafficStatusesList()Output only.TrafficTargetStatusOrBuildergetTrafficStatusesOrBuilder(int index)Output only.List<? extends TrafficTargetStatusOrBuilder>getTrafficStatusesOrBuilderList()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.StringgetUri()Output only.com.google.protobuf.ByteStringgetUriBytes()Output only.booleanhasBinaryAuthorization()Settings for the Binary Authorization feature.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasExpireTime()Output only.inthashCode()booleanhasTemplate()Required.booleanhasTerminalCondition()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Service.BuildernewBuilder()static Service.BuildernewBuilder(Service prototype)Service.BuildernewBuilderForType()protected Service.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ServiceparseDelimitedFrom(InputStream input)static ServiceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceparseFrom(byte[] data)static ServiceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceparseFrom(com.google.protobuf.ByteString data)static ServiceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceparseFrom(com.google.protobuf.CodedInputStream input)static ServiceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceparseFrom(InputStream input)static ServiceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ServiceparseFrom(ByteBuffer data)static ServiceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Service>parser()Service.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATOR_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_MODIFIER_FIELD_NUMBER
public static final int LAST_MODIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLIENT_VERSION_FIELD_NUMBER
public static final int CLIENT_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INGRESS_FIELD_NUMBER
public static final int INGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BINARY_AUTHORIZATION_FIELD_NUMBER
public static final int BINARY_AUTHORIZATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEMPLATE_FIELD_NUMBER
public static final int TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRAFFIC_FIELD_NUMBER
public static final int TRAFFIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBSERVED_GENERATION_FIELD_NUMBER
public static final int OBSERVED_GENERATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TERMINAL_CONDITION_FIELD_NUMBER
public static final int TERMINAL_CONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LATEST_READY_REVISION_FIELD_NUMBER
public static final int LATEST_READY_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LATEST_CREATED_REVISION_FIELD_NUMBER
public static final int LATEST_CREATED_REVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRAFFIC_STATUSES_FIELD_NUMBER
public static final int TRAFFIC_STATUSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_AUDIENCES_FIELD_NUMBER
public static final int CUSTOM_AUDIENCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
getNamein 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:
getNameBytesin interfaceServiceOrBuilder- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;- Specified by:
getDescriptionin 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:
getDescriptionBytesin interfaceServiceOrBuilder- Returns:
- The bytes for description.
-
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:
getUidin 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:
getUidBytesin interfaceServiceOrBuilder- Returns:
- The bytes for uid.
-
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:
getGenerationin interfaceServiceOrBuilder- Returns:
- The generation.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ServiceOrBuilderUnstructured 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:
getLabelsCountin 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:
containsLabelsin interfaceServiceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin interfaceServiceOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ServiceOrBuilderUnstructured 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:
getAnnotationsCountin 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:
containsAnnotationsin interfaceServiceOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin 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:
getAnnotationsMapin 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:
getAnnotationsOrDefaultin 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:
getAnnotationsOrThrowin interfaceServiceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein 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:
getCreateTimein interfaceServiceOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein interfaceServiceOrBuilder- Returns:
- The updateTime.
-
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:
getUpdateTimeOrBuilderin interfaceServiceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein 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:
getDeleteTimein interfaceServiceOrBuilder- Returns:
- The deleteTime.
-
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:
getDeleteTimeOrBuilderin 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:
hasExpireTimein 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:
getExpireTimein interfaceServiceOrBuilder- Returns:
- The expireTime.
-
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:
getExpireTimeOrBuilderin interfaceServiceOrBuilder
-
getCreator
public String getCreator()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatorin 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:
getCreatorBytesin interfaceServiceOrBuilder- Returns:
- The bytes for creator.
-
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:
getLastModifierin 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:
getLastModifierBytesin interfaceServiceOrBuilder- Returns:
- The bytes for lastModifier.
-
getClient
public String getClient()
Arbitrary identifier for the API client.
string client = 13;- Specified by:
getClientin interfaceServiceOrBuilder- Returns:
- The client.
-
getClientBytes
public com.google.protobuf.ByteString getClientBytes()
Arbitrary identifier for the API client.
string client = 13;- Specified by:
getClientBytesin interfaceServiceOrBuilder- Returns:
- The bytes for client.
-
getClientVersion
public String getClientVersion()
Arbitrary version identifier for the API client.
string client_version = 14;- Specified by:
getClientVersionin interfaceServiceOrBuilder- Returns:
- The clientVersion.
-
getClientVersionBytes
public com.google.protobuf.ByteString getClientVersionBytes()
Arbitrary version identifier for the API client.
string client_version = 14;- Specified by:
getClientVersionBytesin interfaceServiceOrBuilder- Returns:
- The bytes for clientVersion.
-
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:
getIngressValuein interfaceServiceOrBuilder- Returns:
- The enum numeric value on the wire for ingress.
-
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:
getIngressin interfaceServiceOrBuilder- Returns:
- The ingress.
-
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:
getLaunchStageValuein interfaceServiceOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
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:
getLaunchStagein interfaceServiceOrBuilder- Returns:
- The launchStage.
-
hasBinaryAuthorization
public boolean hasBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;- Specified by:
hasBinaryAuthorizationin 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:
getBinaryAuthorizationin interfaceServiceOrBuilder- Returns:
- The binaryAuthorization.
-
getBinaryAuthorizationOrBuilder
public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;- Specified by:
getBinaryAuthorizationOrBuilderin 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:
hasTemplatein 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:
getTemplatein interfaceServiceOrBuilder- Returns:
- The template.
-
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:
getTemplateOrBuilderin 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:
getTrafficListin 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:
getTrafficOrBuilderListin 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:
getTrafficCountin 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:
getTrafficin interfaceServiceOrBuilder
-
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:
getTrafficOrBuilderin interfaceServiceOrBuilder
-
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:
getObservedGenerationin interfaceServiceOrBuilder- Returns:
- The observedGeneration.
-
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:
hasTerminalConditionin 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:
getTerminalConditionin interfaceServiceOrBuilder- Returns:
- The terminalCondition.
-
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:
getTerminalConditionOrBuilderin 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:
getConditionsListin 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:
getConditionsOrBuilderListin 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:
getConditionsCountin 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:
getConditionsin interfaceServiceOrBuilder
-
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:
getConditionsOrBuilderin interfaceServiceOrBuilder
-
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:
getLatestReadyRevisionin 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:
getLatestReadyRevisionBytesin interfaceServiceOrBuilder- Returns:
- The bytes for latestReadyRevision.
-
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:
getLatestCreatedRevisionin 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:
getLatestCreatedRevisionBytesin interfaceServiceOrBuilder- Returns:
- The bytes for latestCreatedRevision.
-
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:
getTrafficStatusesListin 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:
getTrafficStatusesOrBuilderListin 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:
getTrafficStatusesCountin 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:
getTrafficStatusesin interfaceServiceOrBuilder
-
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:
getTrafficStatusesOrBuilderin interfaceServiceOrBuilder
-
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:
getUriin 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:
getUriBytesin interfaceServiceOrBuilder- Returns:
- The bytes for uri.
-
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:
getCustomAudiencesListin 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:
getCustomAudiencesCountin 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:
getCustomAudiencesin 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:
getCustomAudiencesBytesin interfaceServiceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customAudiences at the given index.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceServiceOrBuilder- Returns:
- The satisfiesPzs.
-
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:
getReconcilingin interfaceServiceOrBuilder- Returns:
- The reconciling.
-
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:
getEtagin 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:
getEtagBytesin interfaceServiceOrBuilder- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Service parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Service parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Service parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Service parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Service parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Service parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Service.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Service.Builder newBuilder()
-
newBuilder
public static Service.Builder newBuilder(Service prototype)
-
toBuilder
public Service.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Service getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Service> parser()
-
getParserForType
public com.google.protobuf.Parser<Service> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-