Class InterconnectCircuitInfo.Builder (1.58.0)

public static final class InterconnectCircuitInfo.Builder extends GeneratedMessageV3.Builder<InterconnectCircuitInfo.Builder> implements InterconnectCircuitInfoOrBuilder

Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.

Protobuf type google.cloud.compute.v1.InterconnectCircuitInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectCircuitInfo build()
Returns
Type Description
InterconnectCircuitInfo

buildPartial()

public InterconnectCircuitInfo buildPartial()
Returns
Type Description
InterconnectCircuitInfo

clear()

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

clearCustomerDemarcId()

public InterconnectCircuitInfo.Builder clearCustomerDemarcId()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGoogleCircuitId()

public InterconnectCircuitInfo.Builder clearGoogleCircuitId()

Google-assigned unique ID for this circuit. Assigned at circuit turn-up.

optional string google_circuit_id = 262014711;

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

clearGoogleDemarcId()

public InterconnectCircuitInfo.Builder clearGoogleDemarcId()

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.

optional string google_demarc_id = 448196270;

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomerDemarcId()

public String getCustomerDemarcId()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
Type Description
String

The customerDemarcId.

getCustomerDemarcIdBytes()

public ByteString getCustomerDemarcIdBytes()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
Type Description
ByteString

The bytes for customerDemarcId.

getDefaultInstanceForType()

public InterconnectCircuitInfo getDefaultInstanceForType()
Returns
Type Description
InterconnectCircuitInfo

getDescriptorForType()

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

getGoogleCircuitId()

public String getGoogleCircuitId()

Google-assigned unique ID for this circuit. Assigned at circuit turn-up.

optional string google_circuit_id = 262014711;

Returns
Type Description
String

The googleCircuitId.

getGoogleCircuitIdBytes()

public ByteString getGoogleCircuitIdBytes()

Google-assigned unique ID for this circuit. Assigned at circuit turn-up.

optional string google_circuit_id = 262014711;

Returns
Type Description
ByteString

The bytes for googleCircuitId.

getGoogleDemarcId()

public String getGoogleDemarcId()

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.

optional string google_demarc_id = 448196270;

Returns
Type Description
String

The googleDemarcId.

getGoogleDemarcIdBytes()

public ByteString getGoogleDemarcIdBytes()

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.

optional string google_demarc_id = 448196270;

Returns
Type Description
ByteString

The bytes for googleDemarcId.

hasCustomerDemarcId()

public boolean hasCustomerDemarcId()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
Type Description
boolean

Whether the customerDemarcId field is set.

hasGoogleCircuitId()

public boolean hasGoogleCircuitId()

Google-assigned unique ID for this circuit. Assigned at circuit turn-up.

optional string google_circuit_id = 262014711;

Returns
Type Description
boolean

Whether the googleCircuitId field is set.

hasGoogleDemarcId()

public boolean hasGoogleDemarcId()

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.

optional string google_demarc_id = 448196270;

Returns
Type Description
boolean

Whether the googleDemarcId field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectCircuitInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomerDemarcId(String value)

public InterconnectCircuitInfo.Builder setCustomerDemarcId(String value)

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Parameter
Name Description
value String

The customerDemarcId to set.

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

setCustomerDemarcIdBytes(ByteString value)

public InterconnectCircuitInfo.Builder setCustomerDemarcIdBytes(ByteString value)

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Parameter
Name Description
value ByteString

The bytes for customerDemarcId to set.

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGoogleCircuitId(String value)

public InterconnectCircuitInfo.Builder setGoogleCircuitId(String value)

Google-assigned unique ID for this circuit. Assigned at circuit turn-up.

optional string google_circuit_id = 262014711;

Parameter
Name Description
value String

The googleCircuitId to set.

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

setGoogleCircuitIdBytes(ByteString value)

public InterconnectCircuitInfo.Builder setGoogleCircuitIdBytes(ByteString value)

Google-assigned unique ID for this circuit. Assigned at circuit turn-up.

optional string google_circuit_id = 262014711;

Parameter
Name Description
value ByteString

The bytes for googleCircuitId to set.

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

setGoogleDemarcId(String value)

public InterconnectCircuitInfo.Builder setGoogleDemarcId(String value)

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.

optional string google_demarc_id = 448196270;

Parameter
Name Description
value String

The googleDemarcId to set.

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

setGoogleDemarcIdBytes(ByteString value)

public InterconnectCircuitInfo.Builder setGoogleDemarcIdBytes(ByteString value)

Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.

optional string google_demarc_id = 448196270;

Parameter
Name Description
value ByteString

The bytes for googleDemarcId to set.

Returns
Type Description
InterconnectCircuitInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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