public static final class InterconnectMacsec.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
InterconnectMacsec.Builder |
addAllPreSharedKeys(Iterable<? extends InterconnectMacsecPreSharedKey> values)
Required.
|
InterconnectMacsec.Builder |
addPreSharedKeys(InterconnectMacsecPreSharedKey.Builder builderForValue)
Required.
|
InterconnectMacsec.Builder |
addPreSharedKeys(InterconnectMacsecPreSharedKey value)
Required.
|
InterconnectMacsec.Builder |
addPreSharedKeys(int index,
InterconnectMacsecPreSharedKey.Builder builderForValue)
Required.
|
InterconnectMacsec.Builder |
addPreSharedKeys(int index,
InterconnectMacsecPreSharedKey value)
Required.
|
InterconnectMacsecPreSharedKey.Builder |
addPreSharedKeysBuilder()
Required.
|
InterconnectMacsecPreSharedKey.Builder |
addPreSharedKeysBuilder(int index)
Required.
|
InterconnectMacsec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InterconnectMacsec |
build() |
InterconnectMacsec |
buildPartial() |
InterconnectMacsec.Builder |
clear() |
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.
|
InterconnectMacsec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InterconnectMacsec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InterconnectMacsec.Builder |
clearPreSharedKeys()
Required.
|
InterconnectMacsec.Builder |
clone() |
InterconnectMacsec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
InterconnectMacsecPreSharedKey |
getPreSharedKeys(int index)
Required.
|
InterconnectMacsecPreSharedKey.Builder |
getPreSharedKeysBuilder(int index)
Required.
|
List<InterconnectMacsecPreSharedKey.Builder> |
getPreSharedKeysBuilderList()
Required.
|
int |
getPreSharedKeysCount()
Required.
|
List<InterconnectMacsecPreSharedKey> |
getPreSharedKeysList()
Required.
|
InterconnectMacsecPreSharedKeyOrBuilder |
getPreSharedKeysOrBuilder(int index)
Required.
|
List<? extends InterconnectMacsecPreSharedKeyOrBuilder> |
getPreSharedKeysOrBuilderList()
Required.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InterconnectMacsec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InterconnectMacsec.Builder |
mergeFrom(InterconnectMacsec other) |
InterconnectMacsec.Builder |
mergeFrom(com.google.protobuf.Message other) |
InterconnectMacsec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InterconnectMacsec.Builder |
removePreSharedKeys(int index)
Required.
|
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.
|
InterconnectMacsec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InterconnectMacsec.Builder |
setPreSharedKeys(int index,
InterconnectMacsecPreSharedKey.Builder builderForValue)
Required.
|
InterconnectMacsec.Builder |
setPreSharedKeys(int index,
InterconnectMacsecPreSharedKey value)
Required.
|
InterconnectMacsec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InterconnectMacsec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InterconnectMacsec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InterconnectMacsec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InterconnectMacsec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder mergeFrom(InterconnectMacsec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public InterconnectMacsec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InterconnectMacsec.Builder>IOExceptionpublic 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;hasFailOpen in interface InterconnectMacsecOrBuilderpublic 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;getFailOpen in interface InterconnectMacsecOrBuilderpublic 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;value - The failOpen to set.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;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;
getPreSharedKeysList in interface InterconnectMacsecOrBuilderpublic 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;
getPreSharedKeysCount in interface InterconnectMacsecOrBuilderpublic 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;
getPreSharedKeys in interface InterconnectMacsecOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getPreSharedKeysOrBuilder in interface InterconnectMacsecOrBuilderpublic 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;
getPreSharedKeysOrBuilderList in interface InterconnectMacsecOrBuilderpublic 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;
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;
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;
public final InterconnectMacsec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>public final InterconnectMacsec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InterconnectMacsec.Builder>Copyright © 2025 Google LLC. All rights reserved.