public static final class InterconnectMacsec.Builder extends GeneratedMessageV3.Builder<InterconnectMacsec.Builder> implements InterconnectMacsecOrBuilder
Configuration information for enabling Media Access Control security (MACsec) on this Cloud Interconnect connection between Google and your on-premises router.
Protobuf type google.cloud.compute.v1.InterconnectMacsec
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 InterconnectMacsecPreSharedKey> values)
public InterconnectMacsec.Builder addAllPreSharedKeys(Iterable<? extends InterconnectMacsecPreSharedKey> values)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.InterconnectMacsecPreSharedKey>
|
addPreSharedKeys(InterconnectMacsecPreSharedKey value)
public InterconnectMacsec.Builder addPreSharedKeys(InterconnectMacsecPreSharedKey value)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
addPreSharedKeys(InterconnectMacsecPreSharedKey.Builder builderForValue)
public InterconnectMacsec.Builder addPreSharedKeys(InterconnectMacsecPreSharedKey.Builder builderForValue)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
addPreSharedKeys(int index, InterconnectMacsecPreSharedKey value)
public InterconnectMacsec.Builder addPreSharedKeys(int index, InterconnectMacsecPreSharedKey value)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
addPreSharedKeys(int index, InterconnectMacsecPreSharedKey.Builder builderForValue)
public InterconnectMacsec.Builder addPreSharedKeys(int index, InterconnectMacsecPreSharedKey.Builder builderForValue)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
addPreSharedKeysBuilder()
public InterconnectMacsecPreSharedKey.Builder addPreSharedKeysBuilder()
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
addPreSharedKeysBuilder(int index)
public InterconnectMacsecPreSharedKey.Builder addPreSharedKeysBuilder(int index)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectMacsec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InterconnectMacsec build()
buildPartial()
public InterconnectMacsec buildPartial()
clear()
public InterconnectMacsec.Builder clear()
Overrides
clearFailOpen()
public InterconnectMacsec.Builder clearFailOpen()
If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.
optional bool fail_open = 532597451;
clearField(Descriptors.FieldDescriptor field)
public InterconnectMacsec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectMacsec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPreSharedKeys()
public InterconnectMacsec.Builder clearPreSharedKeys()
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
clone()
public InterconnectMacsec.Builder clone()
Overrides
getDefaultInstanceForType()
public InterconnectMacsec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFailOpen()
public boolean getFailOpen()
If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.
optional bool fail_open = 532597451;
Returns |
---|
Type | Description |
boolean | The failOpen.
|
getPreSharedKeys(int index)
public InterconnectMacsecPreSharedKey getPreSharedKeys(int index)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Parameter |
---|
Name | Description |
index | int
|
getPreSharedKeysBuilder(int index)
public InterconnectMacsecPreSharedKey.Builder getPreSharedKeysBuilder(int index)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Parameter |
---|
Name | Description |
index | int
|
getPreSharedKeysBuilderList()
public List<InterconnectMacsecPreSharedKey.Builder> getPreSharedKeysBuilderList()
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
getPreSharedKeysCount()
public int getPreSharedKeysCount()
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Returns |
---|
Type | Description |
int | |
getPreSharedKeysList()
public List<InterconnectMacsecPreSharedKey> getPreSharedKeysList()
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
getPreSharedKeysOrBuilder(int index)
public InterconnectMacsecPreSharedKeyOrBuilder getPreSharedKeysOrBuilder(int index)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Parameter |
---|
Name | Description |
index | int
|
getPreSharedKeysOrBuilderList()
public List<? extends InterconnectMacsecPreSharedKeyOrBuilder> getPreSharedKeysOrBuilderList()
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.InterconnectMacsecPreSharedKeyOrBuilder> | |
hasFailOpen()
public boolean hasFailOpen()
If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.
optional bool fail_open = 532597451;
Returns |
---|
Type | Description |
boolean | Whether the failOpen field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InterconnectMacsec other)
public InterconnectMacsec.Builder mergeFrom(InterconnectMacsec other)
public InterconnectMacsec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InterconnectMacsec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectMacsec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePreSharedKeys(int index)
public InterconnectMacsec.Builder removePreSharedKeys(int index)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
Parameter |
---|
Name | Description |
index | int
|
setFailOpen(boolean value)
public InterconnectMacsec.Builder setFailOpen(boolean value)
If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.
optional bool fail_open = 532597451;
Parameter |
---|
Name | Description |
value | boolean
The failOpen to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectMacsec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPreSharedKeys(int index, InterconnectMacsecPreSharedKey value)
public InterconnectMacsec.Builder setPreSharedKeys(int index, InterconnectMacsecPreSharedKey value)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
setPreSharedKeys(int index, InterconnectMacsecPreSharedKey.Builder builderForValue)
public InterconnectMacsec.Builder setPreSharedKeys(int index, InterconnectMacsecPreSharedKey.Builder builderForValue)
Required. 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.InterconnectMacsecPreSharedKey pre_shared_keys = 420308466;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectMacsec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectMacsec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides