Class InterconnectMacsecConfig (1.51.0)

public final class InterconnectMacsecConfig extends GeneratedMessageV3 implements InterconnectMacsecConfigOrBuilder

MACsec configuration information for the Interconnect connection. Contains the generated Connectivity Association Key Name (CKN) and the key (CAK) for this Interconnect connection.

Protobuf type google.cloud.compute.v1.InterconnectMacsecConfig

Static Fields

PRE_SHARED_KEYS_FIELD_NUMBER

public static final int PRE_SHARED_KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InterconnectMacsecConfig getDefaultInstance()
Returns
TypeDescription
InterconnectMacsecConfig

getDescriptor()

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

newBuilder()

public static InterconnectMacsecConfig.Builder newBuilder()
Returns
TypeDescription
InterconnectMacsecConfig.Builder

newBuilder(InterconnectMacsecConfig prototype)

public static InterconnectMacsecConfig.Builder newBuilder(InterconnectMacsecConfig prototype)
Parameter
NameDescription
prototypeInterconnectMacsecConfig
Returns
TypeDescription
InterconnectMacsecConfig.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectMacsecConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InterconnectMacsecConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectMacsecConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectMacsecConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InterconnectMacsecConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InterconnectMacsecConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InterconnectMacsecConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InterconnectMacsecConfig> parser()
Returns
TypeDescription
Parser<InterconnectMacsecConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InterconnectMacsecConfig getDefaultInstanceForType()
Returns
TypeDescription
InterconnectMacsecConfig

getParserForType()

public Parser<InterconnectMacsecConfig> getParserForType()
Returns
TypeDescription
Parser<InterconnectMacsecConfig>
Overrides

getPreSharedKeys(int index)

public InterconnectMacsecConfigPreSharedKey getPreSharedKeys(int index)

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

repeated .google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey pre_shared_keys = 420308466;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectMacsecConfigPreSharedKey

getPreSharedKeysCount()

public int getPreSharedKeysCount()

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

repeated .google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey pre_shared_keys = 420308466;

Returns
TypeDescription
int

getPreSharedKeysList()

public List<InterconnectMacsecConfigPreSharedKey> getPreSharedKeysList()

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

repeated .google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey pre_shared_keys = 420308466;

Returns
TypeDescription
List<InterconnectMacsecConfigPreSharedKey>

getPreSharedKeysOrBuilder(int index)

public InterconnectMacsecConfigPreSharedKeyOrBuilder getPreSharedKeysOrBuilder(int index)

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

repeated .google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey pre_shared_keys = 420308466;

Parameter
NameDescription
indexint
Returns
TypeDescription
InterconnectMacsecConfigPreSharedKeyOrBuilder

getPreSharedKeysOrBuilderList()

public List<? extends InterconnectMacsecConfigPreSharedKeyOrBuilder> getPreSharedKeysOrBuilderList()

A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.

repeated .google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey pre_shared_keys = 420308466;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKeyOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InterconnectMacsecConfig.Builder newBuilderForType()
Returns
TypeDescription
InterconnectMacsecConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InterconnectMacsecConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InterconnectMacsecConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InterconnectMacsecConfig.Builder toBuilder()
Returns
TypeDescription
InterconnectMacsecConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException