Class CloudRunRevisionInfo.Builder (1.43.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudRunRevisionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

build()

public CloudRunRevisionInfo build()
Returns
Type Description
CloudRunRevisionInfo

buildPartial()

public CloudRunRevisionInfo buildPartial()
Returns
Type Description
CloudRunRevisionInfo

clear()

public CloudRunRevisionInfo.Builder clear()
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

clearDisplayName()

public CloudRunRevisionInfo.Builder clearDisplayName()

Name of a Cloud Run revision.

string display_name = 1;

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudRunRevisionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

clearLocation()

public CloudRunRevisionInfo.Builder clearLocation()

Location in which this revision is deployed.

string location = 4;

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudRunRevisionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

clearServiceUri()

public CloudRunRevisionInfo.Builder clearServiceUri()

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.

clearUri()

public CloudRunRevisionInfo.Builder clearUri()

URI of a Cloud Run revision.

string uri = 2;

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.

clone()

public CloudRunRevisionInfo.Builder clone()
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

getDefaultInstanceForType()

public CloudRunRevisionInfo getDefaultInstanceForType()
Returns
Type Description
CloudRunRevisionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Name of a Cloud Run revision.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud Run revision.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which this revision is deployed.

string location = 4;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which this revision is deployed.

string location = 4;

Returns
Type Description
ByteString

The bytes for location.

getServiceUri()

public String getServiceUri()

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Returns
Type Description
String

The serviceUri.

getServiceUriBytes()

public ByteString getServiceUriBytes()

URI of Cloud Run service this revision belongs to.

string service_uri = 5;

Returns
Type Description
ByteString

The bytes for serviceUri.

getUri()

public String getUri()

URI of a Cloud Run revision.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud Run revision.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudRunRevisionInfo other)

public CloudRunRevisionInfo.Builder mergeFrom(CloudRunRevisionInfo other)
Parameter
Name Description
other CloudRunRevisionInfo
Returns
Type Description
CloudRunRevisionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudRunRevisionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudRunRevisionInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunRevisionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

setDisplayName(String value)

public CloudRunRevisionInfo.Builder setDisplayName(String value)

Name of a Cloud Run revision.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudRunRevisionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

setLocation(String value)

public CloudRunRevisionInfo.Builder setLocation(String value)

Location in which this revision is deployed.

string location = 4;

Parameter
Name Description
value String

The location to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The serviceUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for serviceUri to set.

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudRunRevisionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudRunRevisionInfo.Builder
Overrides

setUri(String value)

public CloudRunRevisionInfo.Builder setUri(String value)

URI of a Cloud Run revision.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
CloudRunRevisionInfo.Builder

This builder for chaining.