public static final class CloudRunMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder> implements CloudRunMetadataOrBuilder
CloudRunMetadata contains information from a Cloud Run deployment.Protobuf type
google.cloud.deploy.v1.CloudRunMetadata| Modifier and Type | Method and Description |
|---|---|
CloudRunMetadata.Builder |
addAllServiceUrls(Iterable<String> values)
Output only.
|
CloudRunMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudRunMetadata.Builder |
addServiceUrls(String value)
Output only.
|
CloudRunMetadata.Builder |
addServiceUrlsBytes(com.google.protobuf.ByteString value)
Output only.
|
CloudRunMetadata |
build() |
CloudRunMetadata |
buildPartial() |
CloudRunMetadata.Builder |
clear() |
CloudRunMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudRunMetadata.Builder |
clearJob()
Output only.
|
CloudRunMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudRunMetadata.Builder |
clearRevision()
Output only.
|
CloudRunMetadata.Builder |
clearService()
Output only.
|
CloudRunMetadata.Builder |
clearServiceUrls()
Output only.
|
CloudRunMetadata.Builder |
clone() |
CloudRunMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getJob()
Output only.
|
com.google.protobuf.ByteString |
getJobBytes()
Output only.
|
String |
getRevision()
Output only.
|
com.google.protobuf.ByteString |
getRevisionBytes()
Output only.
|
String |
getService()
Output only.
|
com.google.protobuf.ByteString |
getServiceBytes()
Output only.
|
String |
getServiceUrls(int index)
Output only.
|
com.google.protobuf.ByteString |
getServiceUrlsBytes(int index)
Output only.
|
int |
getServiceUrlsCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getServiceUrlsList()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudRunMetadata.Builder |
mergeFrom(CloudRunMetadata other) |
CloudRunMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudRunMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudRunMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudRunMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudRunMetadata.Builder |
setJob(String value)
Output only.
|
CloudRunMetadata.Builder |
setJobBytes(com.google.protobuf.ByteString value)
Output only.
|
CloudRunMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudRunMetadata.Builder |
setRevision(String value)
Output only.
|
CloudRunMetadata.Builder |
setRevisionBytes(com.google.protobuf.ByteString value)
Output only.
|
CloudRunMetadata.Builder |
setService(String value)
Output only.
|
CloudRunMetadata.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
Output only.
|
CloudRunMetadata.Builder |
setServiceUrls(int index,
String value)
Output only.
|
CloudRunMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudRunMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudRunMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudRunMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder mergeFrom(CloudRunMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public CloudRunMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudRunMetadata.Builder>IOExceptionpublic String getService()
Output only. The name of the Cloud Run Service that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/services/{service}`.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getService in interface CloudRunMetadataOrBuilderpublic com.google.protobuf.ByteString getServiceBytes()
Output only. The name of the Cloud Run Service that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/services/{service}`.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getServiceBytes in interface CloudRunMetadataOrBuilderpublic CloudRunMetadata.Builder setService(String value)
Output only. The name of the Cloud Run Service that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/services/{service}`.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The service to set.public CloudRunMetadata.Builder clearService()
Output only. The name of the Cloud Run Service that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/services/{service}`.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public CloudRunMetadata.Builder setServiceBytes(com.google.protobuf.ByteString value)
Output only. The name of the Cloud Run Service that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/services/{service}`.
string service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for service to set.public com.google.protobuf.ProtocolStringList getServiceUrlsList()
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getServiceUrlsList in interface CloudRunMetadataOrBuilderpublic int getServiceUrlsCount()
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getServiceUrlsCount in interface CloudRunMetadataOrBuilderpublic String getServiceUrls(int index)
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getServiceUrls in interface CloudRunMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getServiceUrlsBytes(int index)
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getServiceUrlsBytes in interface CloudRunMetadataOrBuilderindex - The index of the value to return.public CloudRunMetadata.Builder setServiceUrls(int index, String value)
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];index - The index to set the value at.value - The serviceUrls to set.public CloudRunMetadata.Builder addServiceUrls(String value)
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The serviceUrls to add.public CloudRunMetadata.Builder addAllServiceUrls(Iterable<String> values)
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];values - The serviceUrls to add.public CloudRunMetadata.Builder clearServiceUrls()
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public CloudRunMetadata.Builder addServiceUrlsBytes(com.google.protobuf.ByteString value)
Output only. The Cloud Run Service urls that are associated with a `Rollout`.
repeated string service_urls = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes of the serviceUrls to add.public String getRevision()
Output only. The Cloud Run Revision id associated with a `Rollout`.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getRevision in interface CloudRunMetadataOrBuilderpublic com.google.protobuf.ByteString getRevisionBytes()
Output only. The Cloud Run Revision id associated with a `Rollout`.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getRevisionBytes in interface CloudRunMetadataOrBuilderpublic CloudRunMetadata.Builder setRevision(String value)
Output only. The Cloud Run Revision id associated with a `Rollout`.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The revision to set.public CloudRunMetadata.Builder clearRevision()
Output only. The Cloud Run Revision id associated with a `Rollout`.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public CloudRunMetadata.Builder setRevisionBytes(com.google.protobuf.ByteString value)
Output only. The Cloud Run Revision id associated with a `Rollout`.
string revision = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for revision to set.public String getJob()
Output only. The name of the Cloud Run job that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/jobs/{job_name}`.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getJob in interface CloudRunMetadataOrBuilderpublic com.google.protobuf.ByteString getJobBytes()
Output only. The name of the Cloud Run job that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/jobs/{job_name}`.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getJobBytes in interface CloudRunMetadataOrBuilderpublic CloudRunMetadata.Builder setJob(String value)
Output only. The name of the Cloud Run job that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/jobs/{job_name}`.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The job to set.public CloudRunMetadata.Builder clearJob()
Output only. The name of the Cloud Run job that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/jobs/{job_name}`.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public CloudRunMetadata.Builder setJobBytes(com.google.protobuf.ByteString value)
Output only. The name of the Cloud Run job that is associated with a
`Rollout`. Format is
`projects/{project}/locations/{location}/jobs/{job_name}`.
string job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for job to set.public final CloudRunMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>public final CloudRunMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudRunMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.