Class InterconnectDiagnosticsMacsecStatus.Builder (1.44.0)

public static final class InterconnectDiagnosticsMacsecStatus.Builder extends GeneratedMessageV3.Builder<InterconnectDiagnosticsMacsecStatus.Builder> implements InterconnectDiagnosticsMacsecStatusOrBuilder

Describes the status of MACsec encryption on the link.

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsMacsecStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnosticsMacsecStatus build()
Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus

buildPartial()

public InterconnectDiagnosticsMacsecStatus buildPartial()
Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus

clear()

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

clearCkn()

public InterconnectDiagnosticsMacsecStatus.Builder clearCkn()

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

optional string ckn = 98566;

Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public InterconnectDiagnosticsMacsecStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperational()

public InterconnectDiagnosticsMacsecStatus.Builder clearOperational()

Indicates whether or not MACsec is operational on this link.

optional bool operational = 129704914;

Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

clone()

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

getCkn()

public String getCkn()

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

optional string ckn = 98566;

Returns
TypeDescription
String

The ckn.

getCknBytes()

public ByteString getCknBytes()

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

optional string ckn = 98566;

Returns
TypeDescription
ByteString

The bytes for ckn.

getDefaultInstanceForType()

public InterconnectDiagnosticsMacsecStatus getDefaultInstanceForType()
Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperational()

public boolean getOperational()

Indicates whether or not MACsec is operational on this link.

optional bool operational = 129704914;

Returns
TypeDescription
boolean

The operational.

hasCkn()

public boolean hasCkn()

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

optional string ckn = 98566;

Returns
TypeDescription
boolean

Whether the ckn field is set.

hasOperational()

public boolean hasOperational()

Indicates whether or not MACsec is operational on this link.

optional bool operational = 129704914;

Returns
TypeDescription
boolean

Whether the operational field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InterconnectDiagnosticsMacsecStatus other)

public InterconnectDiagnosticsMacsecStatus.Builder mergeFrom(InterconnectDiagnosticsMacsecStatus other)
Parameter
NameDescription
otherInterconnectDiagnosticsMacsecStatus
Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCkn(String value)

public InterconnectDiagnosticsMacsecStatus.Builder setCkn(String value)

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

optional string ckn = 98566;

Parameter
NameDescription
valueString

The ckn to set.

Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

setCknBytes(ByteString value)

public InterconnectDiagnosticsMacsecStatus.Builder setCknBytes(ByteString value)

Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.

optional string ckn = 98566;

Parameter
NameDescription
valueByteString

The bytes for ckn to set.

Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperational(boolean value)

public InterconnectDiagnosticsMacsecStatus.Builder setOperational(boolean value)

Indicates whether or not MACsec is operational on this link.

optional bool operational = 129704914;

Parameter
NameDescription
valueboolean

The operational to set.

Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

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

public InterconnectDiagnosticsMacsecStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InterconnectDiagnosticsMacsecStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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