Class InterconnectRemoteLocationPermittedConnections.Builder (1.55.0)

public static final class InterconnectRemoteLocationPermittedConnections.Builder extends GeneratedMessageV3.Builder<InterconnectRemoteLocationPermittedConnections.Builder> implements InterconnectRemoteLocationPermittedConnectionsOrBuilder

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationPermittedConnections

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InterconnectRemoteLocationPermittedConnections.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectRemoteLocationPermittedConnections build()
Returns
Type Description
InterconnectRemoteLocationPermittedConnections

buildPartial()

public InterconnectRemoteLocationPermittedConnections buildPartial()
Returns
Type Description
InterconnectRemoteLocationPermittedConnections

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInterconnectLocation()

public InterconnectRemoteLocationPermittedConnections.Builder clearInterconnectLocation()

[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.

optional string interconnect_location = 492235846;

Returns
Type Description
InterconnectRemoteLocationPermittedConnections.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectRemoteLocationPermittedConnections getDefaultInstanceForType()
Returns
Type Description
InterconnectRemoteLocationPermittedConnections

getDescriptorForType()

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

getInterconnectLocation()

public String getInterconnectLocation()

[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.

optional string interconnect_location = 492235846;

Returns
Type Description
String

The interconnectLocation.

getInterconnectLocationBytes()

public ByteString getInterconnectLocationBytes()

[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.

optional string interconnect_location = 492235846;

Returns
Type Description
ByteString

The bytes for interconnectLocation.

hasInterconnectLocation()

public boolean hasInterconnectLocation()

[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.

optional string interconnect_location = 492235846;

Returns
Type Description
boolean

Whether the interconnectLocation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectRemoteLocationPermittedConnections other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInterconnectLocation(String value)

public InterconnectRemoteLocationPermittedConnections.Builder setInterconnectLocation(String value)

[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.

optional string interconnect_location = 492235846;

Parameter
Name Description
value String

The interconnectLocation to set.

Returns
Type Description
InterconnectRemoteLocationPermittedConnections.Builder

This builder for chaining.

setInterconnectLocationBytes(ByteString value)

public InterconnectRemoteLocationPermittedConnections.Builder setInterconnectLocationBytes(ByteString value)

[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.

optional string interconnect_location = 492235846;

Parameter
Name Description
value ByteString

The bytes for interconnectLocation to set.

Returns
Type Description
InterconnectRemoteLocationPermittedConnections.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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