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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectMacsecConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InterconnectMacsecConfig build()
buildPartial()
public InterconnectMacsecConfig buildPartial()
clear()
public InterconnectMacsecConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InterconnectMacsecConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectMacsecConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public InterconnectMacsecConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public InterconnectMacsecConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InterconnectMacsecConfig other)
public InterconnectMacsecConfig.Builder mergeFrom(InterconnectMacsecConfig other)
public InterconnectMacsecConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InterconnectMacsecConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectMacsecConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectMacsecConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectMacsecConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectMacsecConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides