Class ServerlessNegInfo.Builder (1.56.0)

public static final class ServerlessNegInfo.Builder extends GeneratedMessageV3.Builder<ServerlessNegInfo.Builder> implements ServerlessNegInfoOrBuilder

For display only. Metadata associated with the serverless network endpoint group backend.

Protobuf type google.cloud.networkmanagement.v1.ServerlessNegInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServerlessNegInfo build()
Returns
Type Description
ServerlessNegInfo

buildPartial()

public ServerlessNegInfo buildPartial()
Returns
Type Description
ServerlessNegInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNegUri()

public ServerlessNegInfo.Builder clearNegUri()

URI of the serverless network endpoint group.

string neg_uri = 1;

Returns
Type Description
ServerlessNegInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ServerlessNegInfo getDefaultInstanceForType()
Returns
Type Description
ServerlessNegInfo

getDescriptorForType()

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

getNegUri()

public String getNegUri()

URI of the serverless network endpoint group.

string neg_uri = 1;

Returns
Type Description
String

The negUri.

getNegUriBytes()

public ByteString getNegUriBytes()

URI of the serverless network endpoint group.

string neg_uri = 1;

Returns
Type Description
ByteString

The bytes for negUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServerlessNegInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNegUri(String value)

public ServerlessNegInfo.Builder setNegUri(String value)

URI of the serverless network endpoint group.

string neg_uri = 1;

Parameter
Name Description
value String

The negUri to set.

Returns
Type Description
ServerlessNegInfo.Builder

This builder for chaining.

setNegUriBytes(ByteString value)

public ServerlessNegInfo.Builder setNegUriBytes(ByteString value)

URI of the serverless network endpoint group.

string neg_uri = 1;

Parameter
Name Description
value ByteString

The bytes for negUri to set.

Returns
Type Description
ServerlessNegInfo.Builder

This builder for chaining.

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

public ServerlessNegInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ServerlessNegInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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