Class InterconnectDiagnosticsMacsecStatus.Builder (1.56.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectDiagnosticsMacsecStatus build()
Returns
Type Description
InterconnectDiagnosticsMacsecStatus

buildPartial()

public InterconnectDiagnosticsMacsecStatus buildPartial()
Returns
Type Description
InterconnectDiagnosticsMacsecStatus

clear()

public InterconnectDiagnosticsMacsecStatus.Builder clear()
Returns
Type Description
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
Type Description
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperational()

public InterconnectDiagnosticsMacsecStatus.Builder clearOperational()

Indicates whether or not MACsec is operational on this link.

optional bool operational = 129704914;

Returns
Type Description
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

clone()

public InterconnectDiagnosticsMacsecStatus.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for ckn.

getDefaultInstanceForType()

public InterconnectDiagnosticsMacsecStatus getDefaultInstanceForType()
Returns
Type Description
InterconnectDiagnosticsMacsecStatus

getDescriptorForType()

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

getOperational()

public boolean getOperational()

Indicates whether or not MACsec is operational on this link.

optional bool operational = 129704914;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the operational field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectDiagnosticsMacsecStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InterconnectDiagnosticsMacsecStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The ckn to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for ckn to set.

Returns
Type Description
InterconnectDiagnosticsMacsecStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public InterconnectDiagnosticsMacsecStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value boolean

The operational to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InterconnectDiagnosticsMacsecStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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