Class InterconnectMacsecPreSharedKey (1.88.0)

public final class InterconnectMacsecPreSharedKey extends GeneratedMessageV3 implements InterconnectMacsecPreSharedKeyOrBuilder

Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode.

Protobuf type google.cloud.compute.v1.InterconnectMacsecPreSharedKey

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InterconnectMacsecPreSharedKey

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InterconnectMacsecPreSharedKey getDefaultInstance()
Returns
Type Description
InterconnectMacsecPreSharedKey

getDescriptor()

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

newBuilder()

public static InterconnectMacsecPreSharedKey.Builder newBuilder()
Returns
Type Description
InterconnectMacsecPreSharedKey.Builder

newBuilder(InterconnectMacsecPreSharedKey prototype)

public static InterconnectMacsecPreSharedKey.Builder newBuilder(InterconnectMacsecPreSharedKey prototype)
Parameter
Name Description
prototype InterconnectMacsecPreSharedKey
Returns
Type Description
InterconnectMacsecPreSharedKey.Builder

parseDelimitedFrom(InputStream input)

public static InterconnectMacsecPreSharedKey parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecPreSharedKey parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InterconnectMacsecPreSharedKey parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecPreSharedKey parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InterconnectMacsecPreSharedKey parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecPreSharedKey parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InterconnectMacsecPreSharedKey parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecPreSharedKey parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InterconnectMacsecPreSharedKey parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecPreSharedKey parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InterconnectMacsecPreSharedKey parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InterconnectMacsecPreSharedKey parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InterconnectMacsecPreSharedKey
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InterconnectMacsecPreSharedKey> parser()
Returns
Type Description
Parser<InterconnectMacsecPreSharedKey>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InterconnectMacsecPreSharedKey getDefaultInstanceForType()
Returns
Type Description
InterconnectMacsecPreSharedKey

getName()

public String getName()

Required. A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getPa