Class VpnConnection.Details.CloudRouter.Builder (0.50.0)

public static final class VpnConnection.Details.CloudRouter.Builder extends GeneratedMessageV3.Builder<VpnConnection.Details.CloudRouter.Builder> implements VpnConnection.Details.CloudRouterOrBuilder

The Cloud Router info.

Protobuf type google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VpnConnection.Details.CloudRouter build()
Returns
Type Description
VpnConnection.Details.CloudRouter

buildPartial()

public VpnConnection.Details.CloudRouter buildPartial()
Returns
Type Description
VpnConnection.Details.CloudRouter

clear()

public VpnConnection.Details.CloudRouter.Builder clear()
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpnConnection.Details.CloudRouter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides

clearName()

public VpnConnection.Details.CloudRouter.Builder clearName()

The associated Cloud Router name.

string name = 1;

Returns
Type Description
VpnConnection.Details.CloudRouter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnConnection.Details.CloudRouter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides

clone()

public VpnConnection.Details.CloudRouter.Builder clone()
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides

getDefaultInstanceForType()

public VpnConnection.Details.CloudRouter getDefaultInstanceForType()
Returns
Type Description
VpnConnection.Details.CloudRouter

getDescriptorForType()

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

getName()

public String getName()

The associated Cloud Router name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The associated Cloud Router name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpnConnection.Details.CloudRouter other)

public VpnConnection.Details.CloudRouter.Builder mergeFrom(VpnConnection.Details.CloudRouter other)
Parameter
Name Description
other VpnConnection.Details.CloudRouter
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VpnConnection.Details.CloudRouter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnConnection.Details.CloudRouter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public VpnConnection.Details.CloudRouter.Builder setName(String value)

The associated Cloud Router name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VpnConnection.Details.CloudRouter.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VpnConnection.Details.CloudRouter.Builder setNameBytes(ByteString value)

The associated Cloud Router name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VpnConnection.Details.CloudRouter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnConnection.Details.CloudRouter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnConnection.Details.CloudRouter.Builder
Overrides