Class CloudRunRevisionInfo.Builder (1.37.0)

public static final class CloudRunRevisionInfo.Builder extends GeneratedMessageV3.Builder<CloudRunRevisionInfo.Builder> implements CloudRunRevisionInfoOrBuilder

For display only. Metadata associated with a Cloud Run revision.

Protobuf type google.cloud.networkmanagement.v1beta1.CloudRunRevisionInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudRunRevisionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

build()

public CloudRunRevisionInfo build()
Returns
TypeDescription
CloudRunRevisionInfo

buildPartial()

public CloudRunRevisionInfo buildPartial()
Returns
TypeDescription
CloudRunRevisionInfo

clear()

public CloudRunRevisionInfo.Builder clear()
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

clearDisplayName()

public CloudRunRevisionInfo.Builder clearDisplayName()

Name of a Cloud Run revision.

string display_name = 1;

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudRunRevisionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

clearLocation()

public CloudRunRevisionInfo.Builder clearLocation()

Location in which this revision is deployed.

string location = 4;

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudRunRevisionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

clearServiceUri()

public CloudRunRevisionInfo.Builder clearServiceUri()

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

clearUri()

public CloudRunRevisionInfo.Builder clearUri()

URI of a Cloud Run revision.

string uri = 2;

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

clone()

public CloudRunRevisionInfo.Builder clone()
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

getDefaultInstanceForType()

public CloudRunRevisionInfo getDefaultInstanceForType()
Returns
TypeDescription
CloudRunRevisionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Name of a Cloud Run revision.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud Run revision.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which this revision is deployed.

string location = 4;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which this revision is deployed.

string location = 4;

Returns
TypeDescription
ByteString

The bytes for location.

getServiceUri()

public String getServiceUri()

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Returns
TypeDescription
String

The serviceUri.

getServiceUriBytes()

public ByteString getServiceUriBytes()

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Returns
TypeDescription
ByteString

The bytes for serviceUri.

getUri()

public String getUri()

URI of a Cloud Run revision.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud Run revision.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudRunRevisionInfo other)

public CloudRunRevisionInfo.Builder mergeFrom(CloudRunRevisionInfo other)
Parameter
NameDescription
otherCloudRunRevisionInfo
Returns
TypeDescription
CloudRunRevisionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudRunRevisionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudRunRevisionInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunRevisionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

setDisplayName(String value)

public CloudRunRevisionInfo.Builder setDisplayName(String value)

Name of a Cloud Run revision.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public CloudRunRevisionInfo.Builder setDisplayNameBytes(ByteString value)

Name of a Cloud Run revision.

string display_name = 1;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudRunRevisionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

setLocation(String value)

public CloudRunRevisionInfo.Builder setLocation(String value)

Location in which this revision is deployed.

string location = 4;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public CloudRunRevisionInfo.Builder setLocationBytes(ByteString value)

Location in which this revision is deployed.

string location = 4;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudRunRevisionInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

setServiceUri(String value)

public CloudRunRevisionInfo.Builder setServiceUri(String value)

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Parameter
NameDescription
valueString

The serviceUri to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setServiceUriBytes(ByteString value)

public CloudRunRevisionInfo.Builder setServiceUriBytes(ByteString value)

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Parameter
NameDescription
valueByteString

The bytes for serviceUri to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunRevisionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudRunRevisionInfo.Builder
Overrides

setUri(String value)

public CloudRunRevisionInfo.Builder setUri(String value)

URI of a Cloud Run revision.

string uri = 2;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public CloudRunRevisionInfo.Builder setUriBytes(ByteString value)

URI of a Cloud Run revision.

string uri = 2;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
CloudRunRevisionInfo.Builder

This builder for chaining.