Class CloudFunctionInfo.Builder (1.48.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.v1.CloudFunctionInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudFunctionInfo build()
Returns
Type Description
CloudFunctionInfo

buildPartial()

public CloudFunctionInfo buildPartial()
Returns
Type Description
CloudFunctionInfo

clear()

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

clearDisplayName()

public CloudFunctionInfo.Builder clearDisplayName()

Name of a Cloud Function.

string display_name = 1;

Returns
Type Description
CloudFunctionInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public CloudFunctionInfo.Builder clearLocation()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
Type Description
CloudFunctionInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public CloudFunctionInfo.Builder clearUri()

URI of a Cloud Function.

string uri = 2;

Returns
Type Description
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
Type Description
CloudFunctionInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CloudFunctionInfo getDefaultInstanceForType()
Returns
Type Description
CloudFunctionInfo

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Name of a Cloud Function.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Cloud Function.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getLocation()

public String getLocation()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Location in which the Cloud Function is deployed.

string location = 3;

Returns
Type Description
ByteString

The bytes for location.

getUri()

public String getUri()

URI of a Cloud Function.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Cloud Function.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

getVersionId()

public long getVersionId()

Latest successfully deployed version id of the Cloud Function.

int64 version_id = 4;

Returns
Type Description
long

The versionId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudFunctionInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public CloudFunctionInfo.Builder setDisplayName(String value)

Name of a Cloud Function.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

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

The bytes for displayName to set.

Returns
Type Description
CloudFunctionInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public CloudFunctionInfo.Builder setLocation(String value)

Location in which the Cloud Function is deployed.

string location = 3;

Parameter
Name Description
value String

The location to set.

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

The bytes for location to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudFunctionInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public CloudFunctionInfo.Builder setUri(String value)

URI of a Cloud Function.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
CloudFunctionInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public CloudFunctionInfo.Builder setUriBytes(ByteString value)

URI of a Cloud Function.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

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

The versionId to set.

Returns
Type Description
CloudFunctionInfo.Builder

This builder for chaining.