Class InterconnectCircuitInfo.Builder (1.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectCircuitInfo build()
Returns
TypeDescription
InterconnectCircuitInfo

buildPartial()

public InterconnectCircuitInfo buildPartial()
Returns
TypeDescription
InterconnectCircuitInfo

clear()

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

clearCustomerDemarcId()

public InterconnectCircuitInfo.Builder clearCustomerDemarcId()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
TypeDescription
InterconnectCircuitInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomerDemarcId()

public String getCustomerDemarcId()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
TypeDescription
String

The customerDemarcId.

getCustomerDemarcIdBytes()

public ByteString getCustomerDemarcIdBytes()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
TypeDescription
ByteString

The bytes for customerDemarcId.

getDefaultInstanceForType()

public InterconnectCircuitInfo getDefaultInstanceForType()
Returns
TypeDescription
InterconnectCircuitInfo

getDescriptorForType()

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

The bytes for googleDemarcId.

hasCustomerDemarcId()

public boolean hasCustomerDemarcId()

Customer-side demarc ID for this circuit.

optional string customer_demarc_id = 28771859;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the googleDemarcId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectCircuitInfo other)

public InterconnectCircuitInfo.Builder mergeFrom(InterconnectCircuitInfo other)
Parameter
NameDescription
otherInterconnectCircuitInfo
Returns
TypeDescription
InterconnectCircuitInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectCircuitInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The customerDemarcId to set.

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

The bytes for customerDemarcId to set.

Returns
TypeDescription
InterconnectCircuitInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The googleCircuitId to set.

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

The bytes for googleCircuitId to set.

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

The googleDemarcId to set.

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

The bytes for googleDemarcId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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