public static final class InterconnectMacsec.Builder extends GeneratedMessage.Builder<InterconnectMacsec.Builder> implements InterconnectMacsecOrBuilderConfiguration 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InterconnectMacsec.BuilderImplements
InterconnectMacsecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
InterconnectMacsecPreSharedKey |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InterconnectMacsecPreSharedKey.Builder |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
InterconnectMacsecPreSharedKey |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
InterconnectMacsecPreSharedKey.Builder |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsecPreSharedKey.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsecPreSharedKey.Builder |
|
build()
public InterconnectMacsec build()| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec |
|
buildPartial()
public InterconnectMacsec buildPartial()| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec |
|
clear()
public InterconnectMacsec.Builder clear()| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
clearFailOpen()
public InterconnectMacsec.Builder clearFailOpen()If set to true, the Interconnect connection is configured with ashould-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 amust-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 |
InterconnectMacsec.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
getDefaultInstanceForType()
public InterconnectMacsec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailOpen()
public boolean getFailOpen()If set to true, the Interconnect connection is configured with ashould-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 amust-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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsecPreSharedKey |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsecPreSharedKey.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<InterconnectMacsecPreSharedKey> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsecPreSharedKeyOrBuilder |
|
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 ashould-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 amust-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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InterconnectMacsec other)
public InterconnectMacsec.Builder mergeFrom(InterconnectMacsec other)| Parameter | |
|---|---|
| Name | Description |
other |
InterconnectMacsec |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InterconnectMacsec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InterconnectMacsec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
setFailOpen(boolean value)
public InterconnectMacsec.Builder setFailOpen(boolean value)If set to true, the Interconnect connection is configured with ashould-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 amust-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 |
booleanThe failOpen to set. |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
This builder for chaining. |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
InterconnectMacsecPreSharedKey |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
InterconnectMacsecPreSharedKey.Builder |
| Returns | |
|---|---|
| Type | Description |
InterconnectMacsec.Builder |
|