Class InterconnectRemoteLocationPermittedConnections.Builder (1.46.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectRemoteLocationPermittedConnections build()
Returns
TypeDescription
InterconnectRemoteLocationPermittedConnections

buildPartial()

public InterconnectRemoteLocationPermittedConnections buildPartial()
Returns
TypeDescription
InterconnectRemoteLocationPermittedConnections

clear()

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

clearField(Descriptors.FieldDescriptor field)

public InterconnectRemoteLocationPermittedConnections.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InterconnectRemoteLocationPermittedConnections.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InterconnectRemoteLocationPermittedConnections getDefaultInstanceForType()
Returns
TypeDescription
InterconnectRemoteLocationPermittedConnections

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the interconnectLocation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectRemoteLocationPermittedConnections other)

public InterconnectRemoteLocationPermittedConnections.Builder mergeFrom(InterconnectRemoteLocationPermittedConnections other)
Parameter
NameDescription
otherInterconnectRemoteLocationPermittedConnections
Returns
TypeDescription
InterconnectRemoteLocationPermittedConnections.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectRemoteLocationPermittedConnections.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The interconnectLocation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for interconnectLocation to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectRemoteLocationPermittedConnections.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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