Class InterconnectMacsecConfig.Builder (1.53.0)

public static final class InterconnectMacsecConfig.Builder extends GeneratedMessageV3.Builder<InterconnectMacsecConfig.Builder> 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 Methods

getDescriptor()

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

Methods

addAllPreSharedKeys(Iterable<? extends InterconnectMacsecConfigPreSharedKey> values)

public InterconnectMacsecConfig.Builder addAllPreSharedKeys(Iterable<? extends InterconnectMacsecConfigPreSharedKey> values)

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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKey>
Returns
Type Description
InterconnectMacsecConfig.Builder

addPreSharedKeys(InterconnectMacsecConfigPreSharedKey value)

public InterconnectMacsecConfig.Builder addPreSharedKeys(InterconnectMacsecConfigPreSharedKey value)

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
Name Description
value InterconnectMacsecConfigPreSharedKey
Returns
Type Description
InterconnectMacsecConfig.Builder

addPreSharedKeys(InterconnectMacsecConfigPreSharedKey.Builder builderForValue)

public InterconnectMacsecConfig.Builder addPreSharedKeys(InterconnectMacsecConfigPreSharedKey.Builder builderForValue)

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
Name Description
builderForValue InterconnectMacsecConfigPreSharedKey.Builder
Returns
Type Description
InterconnectMacsecConfig.Builder

addPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey value)

public InterconnectMacsecConfig.Builder addPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey value)

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;

Parameters
Name Description
index int
value InterconnectMacsecConfigPreSharedKey
Returns
Type Description
InterconnectMacsecConfig.Builder

addPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey.Builder builderForValue)

public InterconnectMacsecConfig.Builder addPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue InterconnectMacsecConfigPreSharedKey.Builder
Returns
Type Description
InterconnectMacsecConfig.Builder

addPreSharedKeysBuilder()

public InterconnectMacsecConfigPreSharedKey.Builder addPreSharedKeysBuilder()

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
Type Description
InterconnectMacsecConfigPreSharedKey.Builder

addPreSharedKeysBuilder(int index)

public InterconnectMacsecConfigPreSharedKey.Builder addPreSharedKeysBuilder(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
Name Description
index int
Returns
Type Description
InterconnectMacsecConfigPreSharedKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InterconnectMacsecConfig build()
Returns
Type Description
InterconnectMacsecConfig

buildPartial()

public InterconnectMacsecConfig buildPartial()
Returns
Type Description
InterconnectMacsecConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPreSharedKeys()

public InterconnectMacsecConfig.Builder clearPreSharedKeys()

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
Type Description
InterconnectMacsecConfig.Builder

clone()

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

getDefaultInstanceForType()

public InterconnectMacsecConfig getDefaultInstanceForType()
Returns
Type Description
InterconnectMacsecConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
InterconnectMacsecConfigPreSharedKey

getPreSharedKeysBuilder(int index)

public InterconnectMacsecConfigPreSharedKey.Builder getPreSharedKeysBuilder(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
Name Description
index int
Returns
Type Description
InterconnectMacsecConfigPreSharedKey.Builder

getPreSharedKeysBuilderList()

public List<InterconnectMacsecConfigPreSharedKey.Builder> getPreSharedKeysBuilderList()

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
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.InterconnectMacsecConfigPreSharedKeyOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InterconnectMacsecConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePreSharedKeys(int index)

public InterconnectMacsecConfig.Builder removePreSharedKeys(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
Name Description
index int
Returns
Type Description
InterconnectMacsecConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey value)

public InterconnectMacsecConfig.Builder setPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey value)

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;

Parameters
Name Description
index int
value InterconnectMacsecConfigPreSharedKey
Returns
Type Description
InterconnectMacsecConfig.Builder

setPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey.Builder builderForValue)

public InterconnectMacsecConfig.Builder setPreSharedKeys(int index, InterconnectMacsecConfigPreSharedKey.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue InterconnectMacsecConfigPreSharedKey.Builder
Returns
Type Description
InterconnectMacsecConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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