Class CloudFunctionInfo.Builder (1.42.0)

public static final class CloudFunctionInfo.Builder extends GeneratedMessageV3.Builder<CloudFunctionInfo.Builder> implements CloudFunctionInfoOrBuilder

For display only. Metadata associated with a Cloud Function.

Protobuf type google.cloud.networkmanagement.v1beta1.CloudFunctionInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudFunctionInfo build()
Returns
TypeDescription
CloudFunctionInfo

buildPartial()

public CloudFunctionInfo buildPartial()
Returns
TypeDescription
CloudFunctionInfo

clear()

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

clearDisplayName()

public CloudFunctionInfo.Builder clearDisplayName()

Name of a Cloud Function.

string display_name = 1;

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public CloudFunctionInfo.Builder clearLocation()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public CloudFunctionInfo.Builder clearUri()

URI of a Cloud Function.

string uri = 2;

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

clearVersionId()

public CloudFunctionInfo.Builder clearVersionId()

Latest successfully deployed version id of the Cloud Function.

int64 version_id = 4;

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CloudFunctionInfo getDefaultInstanceForType()
Returns
TypeDescription
CloudFunctionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Name of a Cloud Function.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud Function.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
TypeDescription
ByteString

The bytes for location.

getUri()

public String getUri()

URI of a Cloud Function.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud Function.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

getVersionId()

public long getVersionId()

Latest successfully deployed version id of the Cloud Function.

int64 version_id = 4;

Returns
TypeDescription
long

The versionId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudFunctionInfo other)

public CloudFunctionInfo.Builder mergeFrom(CloudFunctionInfo other)
Parameter
NameDescription
otherCloudFunctionInfo
Returns
TypeDescription
CloudFunctionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public CloudFunctionInfo.Builder setDisplayName(String value)

Name of a Cloud Function.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public CloudFunctionInfo.Builder setDisplayNameBytes(ByteString value)

Name of a Cloud Function.

string display_name = 1;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public CloudFunctionInfo.Builder setLocation(String value)

Location in which the Cloud Function is deployed.

string location = 3;

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public CloudFunctionInfo.Builder setLocationBytes(ByteString value)

Location in which the Cloud Function is deployed.

string location = 3;

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public CloudFunctionInfo.Builder setUri(String value)

URI of a Cloud Function.

string uri = 2;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public CloudFunctionInfo.Builder setUriBytes(ByteString value)

URI of a Cloud Function.

string uri = 2;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.

setVersionId(long value)

public CloudFunctionInfo.Builder setVersionId(long value)

Latest successfully deployed version id of the Cloud Function.

int64 version_id = 4;

Parameter
NameDescription
valuelong

The versionId to set.

Returns
TypeDescription
CloudFunctionInfo.Builder

This builder for chaining.