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 class
Service.Builder
Service 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 boolean
containsAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.boolean
containsLabels(String key)
Unstructured key value map that can be used to organize and categorize objects.boolean
equals(Object obj)
Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.Map<String,String>
getAnnotationsMap()
Unstructured key value map that may be set by external tools to store and arbitrary metadata.String
getAnnotationsOrDefault(String key, String defaultValue)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.String
getAnnotationsOrThrow(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata.BinaryAuthorization
getBinaryAuthorization()
Settings for the Binary Authorization feature.BinaryAuthorizationOrBuilder
getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.String
getClient()
Arbitrary identifier for the API client.com.google.protobuf.ByteString
getClientBytes()
Arbitrary identifier for the API client.String
getClientVersion()
Arbitrary version identifier for the API client.com.google.protobuf.ByteString
getClientVersionBytes()
Arbitrary version identifier for the API client.Condition
getConditions(int index)
Output only.int
getConditionsCount()
Output only.List<Condition>
getConditionsList()
Output only.ConditionOrBuilder
getConditionsOrBuilder(int index)
Output only.List<? extends ConditionOrBuilder>
getConditionsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCreator()
Output only.com.google.protobuf.ByteString
getCreatorBytes()
Output only.String
getCustomAudiences(int index)
One or more custom audiences that you want this service to support.com.google.protobuf.ByteString
getCustomAudiencesBytes(int index)
One or more custom audiences that you want this service to support.int
getCustomAudiencesCount()
One or more custom audiences that you want this service to support.com.google.protobuf.ProtocolStringList
getCustomAudiencesList()
One or more custom audiences that you want this service to support.static Service
getDefaultInstance()
Service
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.String
getDescription()
User-provided description of the Service.com.google.protobuf.ByteString
getDescriptionBytes()
User-provided description of the Service.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.long
getGeneration()
Output only.IngressTraffic
getIngress()
Provides the ingress settings for this Service.int
getIngressValue()
Provides the ingress settings for this Service.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Unstructured key value map that can be used to organize and categorize objects.Map<String,String>
getLabelsMap()
Unstructured key value map that can be used to organize and categorize objects.String
getLabelsOrDefault(String key, String defaultValue)
Unstructured key value map that can be used to organize and categorize objects.String
getLabelsOrThrow(String key)
Unstructured key value map that can be used to organize and categorize objects.String
getLastModifier()
Output only.com.google.protobuf.ByteString
getLastModifierBytes()
Output only.String
getLatestCreatedRevision()
Output only.com.google.protobuf.ByteString
getLatestCreatedRevisionBytes()
Output only.String
getLatestReadyRevision()
Output only.com.google.protobuf.ByteString
getLatestReadyRevisionBytes()
Output only.com.google.api.LaunchStage
getLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).int
getLaunchStageValue()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).String
getName()
The fully qualified name of this Service.com.google.protobuf.ByteString
getNameBytes()
The fully qualified name of this Service.long
getObservedGeneration()
Output only.com.google.protobuf.Parser<Service>
getParserForType()
boolean
getReconciling()
Output only.boolean
getSatisfiesPzs()
Output only.int
getSerializedSize()
RevisionTemplate
getTemplate()
Required.RevisionTemplateOrBuilder
getTemplateOrBuilder()
Required.Condition
getTerminalCondition()
Output only.ConditionOrBuilder
getTerminalConditionOrBuilder()
Output only.TrafficTarget
getTraffic(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.int
getTrafficCount()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.List<TrafficTarget>
getTrafficList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTargetOrBuilder
getTrafficOrBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.List<? extends TrafficTargetOrBuilder>
getTrafficOrBuilderList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service.TrafficTargetStatus
getTrafficStatuses(int index)
Output only.int
getTrafficStatusesCount()
Output only.List<TrafficTargetStatus>
getTrafficStatusesList()
Output only.TrafficTargetStatusOrBuilder
getTrafficStatusesOrBuilder(int index)
Output only.List<? extends TrafficTargetStatusOrBuilder>
getTrafficStatusesOrBuilderList()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getUri()
Output only.com.google.protobuf.ByteString
getUriBytes()
Output only.boolean
hasBinaryAuthorization()
Settings for the Binary Authorization feature.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasExpireTime()
Output only.int
hashCode()
boolean
hasTemplate()
Required.boolean
hasTerminalCondition()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Service.Builder
newBuilder()
static Service.Builder
newBuilder(Service prototype)
Service.Builder
newBuilderForType()
protected Service.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Service
parseDelimitedFrom(InputStream input)
static Service
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service
parseFrom(byte[] data)
static Service
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service
parseFrom(com.google.protobuf.ByteString data)
static Service
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service
parseFrom(com.google.protobuf.CodedInputStream input)
static Service
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service
parseFrom(InputStream input)
static Service
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service
parseFrom(ByteBuffer data)
static Service
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Service>
parser()
Service.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in interfaceServiceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The fully qualified name of this Service. In CreateServiceRequest, this field is ignored, and instead composed from CreateServiceRequest.parent and CreateServiceRequest.service_id. Format: projects/{project}/locations/{location}/services/{service_id}
string name = 1;
- Specified by:
getNameBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Specified by:
getDescription
in interfaceServiceOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the Service. This field currently has a 512-character limit.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for description.
-
getUid
public String getUid()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceServiceOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for uid.
-
getGeneration
public long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGeneration
in interfaceServiceOrBuilder
- Returns:
- The generation.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ServiceOrBuilder
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsCount
in interfaceServiceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
containsLabels
in interfaceServiceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceServiceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsMap
in interfaceServiceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsOrDefault
in interfaceServiceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 Service.
map<string, string> labels = 5;
- Specified by:
getLabelsOrThrow
in interfaceServiceOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ServiceOrBuilder
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsCount
in interfaceServiceOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
containsAnnotations
in interfaceServiceOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceServiceOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsMap
in interfaceServiceOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsOrDefault
in interfaceServiceOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 Service. <p>This field follows Kubernetes annotations' namespacing, limits, and rules.
map<string, string> annotations = 6;
- Specified by:
getAnnotationsOrThrow
in interfaceServiceOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceServiceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceServiceOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceServiceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceServiceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceServiceOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceServiceOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceServiceOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceServiceOrBuilder
- Returns:
- The deleteTime.
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The deletion time.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceServiceOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceServiceOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceServiceOrBuilder
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceServiceOrBuilder
-
getCreator
public String getCreator()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreator
in interfaceServiceOrBuilder
- Returns:
- The creator.
-
getCreatorBytes
public com.google.protobuf.ByteString getCreatorBytes()
Output only. Email address of the authenticated creator.
string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreatorBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for creator.
-
getLastModifier
public String getLastModifier()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastModifier
in interfaceServiceOrBuilder
- Returns:
- The lastModifier.
-
getLastModifierBytes
public com.google.protobuf.ByteString getLastModifierBytes()
Output only. Email address of the last authenticated modifier.
string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLastModifierBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for lastModifier.
-
getClient
public String getClient()
Arbitrary identifier for the API client.
string client = 13;
- Specified by:
getClient
in interfaceServiceOrBuilder
- Returns:
- The client.
-
getClientBytes
public com.google.protobuf.ByteString getClientBytes()
Arbitrary identifier for the API client.
string client = 13;
- Specified by:
getClientBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for client.
-
getClientVersion
public String getClientVersion()
Arbitrary version identifier for the API client.
string client_version = 14;
- Specified by:
getClientVersion
in interfaceServiceOrBuilder
- Returns:
- The clientVersion.
-
getClientVersionBytes
public com.google.protobuf.ByteString getClientVersionBytes()
Arbitrary version identifier for the API client.
string client_version = 14;
- Specified by:
getClientVersionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for clientVersion.
-
getIngressValue
public int getIngressValue()
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Specified by:
getIngressValue
in interfaceServiceOrBuilder
- Returns:
- The enum numeric value on the wire for ingress.
-
getIngress
public IngressTraffic getIngress()
Provides the ingress settings for this Service. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
.google.cloud.run.v2.IngressTraffic ingress = 15;
- Specified by:
getIngress
in interfaceServiceOrBuilder
- Returns:
- The ingress.
-
getLaunchStageValue
public int getLaunchStageValue()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Specified by:
getLaunchStageValue
in interfaceServiceOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
public com.google.api.LaunchStage getLaunchStage()
The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. <p> For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
.google.api.LaunchStage launch_stage = 16;
- Specified by:
getLaunchStage
in interfaceServiceOrBuilder
- Returns:
- The launchStage.
-
hasBinaryAuthorization
public boolean hasBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- Specified by:
hasBinaryAuthorization
in interfaceServiceOrBuilder
- Returns:
- Whether the binaryAuthorization field is set.
-
getBinaryAuthorization
public BinaryAuthorization getBinaryAuthorization()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- Specified by:
getBinaryAuthorization
in interfaceServiceOrBuilder
- Returns:
- The binaryAuthorization.
-
getBinaryAuthorizationOrBuilder
public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()
Settings for the Binary Authorization feature.
.google.cloud.run.v2.BinaryAuthorization binary_authorization = 17;
- Specified by:
getBinaryAuthorizationOrBuilder
in interfaceServiceOrBuilder
-
hasTemplate
public boolean hasTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasTemplate
in interfaceServiceOrBuilder
- Returns:
- Whether the template field is set.
-
getTemplate
public RevisionTemplate getTemplate()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTemplate
in interfaceServiceOrBuilder
- Returns:
- The template.
-
getTemplateOrBuilder
public RevisionTemplateOrBuilder getTemplateOrBuilder()
Required. The template used to create revisions for this Service.
.google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTemplateOrBuilder
in interfaceServiceOrBuilder
-
getTrafficList
public List<TrafficTarget> getTrafficList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficList
in interfaceServiceOrBuilder
-
getTrafficOrBuilderList
public List<? extends TrafficTargetOrBuilder> getTrafficOrBuilderList()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficOrBuilderList
in interfaceServiceOrBuilder
-
getTrafficCount
public int getTrafficCount()
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficCount
in interfaceServiceOrBuilder
-
getTraffic
public TrafficTarget getTraffic(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTraffic
in interfaceServiceOrBuilder
-
getTrafficOrBuilder
public TrafficTargetOrBuilder getTrafficOrBuilder(int index)
Specifies how to distribute traffic over a collection of Revisions belonging to the Service. If traffic is empty or not provided, defaults to 100% traffic to the latest `Ready` Revision.
repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
- Specified by:
getTrafficOrBuilder
in interfaceServiceOrBuilder
-
getObservedGeneration
public long getObservedGeneration()
Output only. The generation of this Service currently serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a `string` instead of an `integer`.
int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getObservedGeneration
in interfaceServiceOrBuilder
- Returns:
- The observedGeneration.
-
hasTerminalCondition
public boolean hasTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTerminalCondition
in interfaceServiceOrBuilder
- Returns:
- Whether the terminalCondition field is set.
-
getTerminalCondition
public Condition getTerminalCondition()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerminalCondition
in interfaceServiceOrBuilder
- Returns:
- The terminalCondition.
-
getTerminalConditionOrBuilder
public ConditionOrBuilder getTerminalConditionOrBuilder()
Output only. The Condition of this Service, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
.google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTerminalConditionOrBuilder
in interfaceServiceOrBuilder
-
getConditionsList
public List<Condition> getConditionsList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsList
in interfaceServiceOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilderList
in interfaceServiceOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsCount
in interfaceServiceOrBuilder
-
getConditions
public Condition getConditions(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditions
in interfaceServiceOrBuilder
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Service does not reach its Serving state. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilder
in interfaceServiceOrBuilder
-
getLatestReadyRevision
public String getLatestReadyRevision()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestReadyRevision
in interfaceServiceOrBuilder
- Returns:
- The latestReadyRevision.
-
getLatestReadyRevisionBytes
public com.google.protobuf.ByteString getLatestReadyRevisionBytes()
Output only. Name of the latest revision that is serving traffic. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestReadyRevisionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for latestReadyRevision.
-
getLatestCreatedRevision
public String getLatestCreatedRevision()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestCreatedRevision
in interfaceServiceOrBuilder
- Returns:
- The latestCreatedRevision.
-
getLatestCreatedRevisionBytes
public com.google.protobuf.ByteString getLatestCreatedRevisionBytes()
Output only. Name of the last created revision. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getLatestCreatedRevisionBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for latestCreatedRevision.
-
getTrafficStatusesList
public List<TrafficTargetStatus> getTrafficStatusesList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesList
in interfaceServiceOrBuilder
-
getTrafficStatusesOrBuilderList
public List<? extends TrafficTargetStatusOrBuilder> getTrafficStatusesOrBuilderList()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesOrBuilderList
in interfaceServiceOrBuilder
-
getTrafficStatusesCount
public int getTrafficStatusesCount()
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesCount
in interfaceServiceOrBuilder
-
getTrafficStatuses
public TrafficTargetStatus getTrafficStatuses(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatuses
in interfaceServiceOrBuilder
-
getTrafficStatusesOrBuilder
public TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder(int index)
Output only. Detailed status information for corresponding traffic targets. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrafficStatusesOrBuilder
in interfaceServiceOrBuilder
-
getUri
public String getUri()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUri
in interfaceServiceOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
Output only. The main URI in which this Service is serving traffic.
string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUriBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for uri.
-
getCustomAudiencesList
public com.google.protobuf.ProtocolStringList getCustomAudiencesList()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiencesList
in interfaceServiceOrBuilder
- Returns:
- A list containing the customAudiences.
-
getCustomAudiencesCount
public int getCustomAudiencesCount()
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiencesCount
in interfaceServiceOrBuilder
- Returns:
- The count of customAudiences.
-
getCustomAudiences
public String getCustomAudiences(int index)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiences
in interfaceServiceOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The customAudiences at the given index.
-
getCustomAudiencesBytes
public com.google.protobuf.ByteString getCustomAudiencesBytes(int index)
One or more custom audiences that you want this service to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
repeated string custom_audiences = 37;
- Specified by:
getCustomAudiencesBytes
in interfaceServiceOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the customAudiences at the given index.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 38 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSatisfiesPzs
in interfaceServiceOrBuilder
- Returns:
- The satisfiesPzs.
-
getReconciling
public boolean getReconciling()
Output only. Returns true if the Service is currently being acted upon by the system to bring it into the desired state. When a new Service is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Service to the desired serving state. This process is called reconciliation. While reconciliation is in process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Service, or there was an error, and reconciliation failed. This state can be found in `terminal_condition.state`. If reconciliation succeeded, the following fields will match: `traffic` and `traffic_statuses`, `observed_generation` and `generation`, `latest_ready_revision` and `latest_created_revision`. If reconciliation failed, `traffic_statuses`, `observed_generation`, and `latest_ready_revision` will have the state of the last serving revision, or empty for newly created Services. Additional information on the failure can be found in `terminal_condition` and `conditions`.
bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReconciling
in interfaceServiceOrBuilder
- Returns:
- The reconciling.
-
getEtag
public String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtag
in interfaceServiceOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtagBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for etag.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-