Class SACRealm.PairingKey.Builder (0.96.0)

public static final class SACRealm.PairingKey.Builder extends GeneratedMessage.Builder<SACRealm.PairingKey.Builder> implements SACRealm.PairingKeyOrBuilder

Key to be shared with SSE service provider to establish global handshake.

Protobuf type google.cloud.networksecurity.v1.SACRealm.PairingKey

Static Methods

getDescriptor()

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

Methods

build()

public SACRealm.PairingKey build()
Returns
Type Description
SACRealm.PairingKey

buildPartial()

public SACRealm.PairingKey buildPartial()
Returns
Type Description
SACRealm.PairingKey

clear()

public SACRealm.PairingKey.Builder clear()
Returns
Type Description
SACRealm.PairingKey.Builder
Overrides

clearExpireTime()

public SACRealm.PairingKey.Builder clearExpireTime()

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SACRealm.PairingKey.Builder

clearKey()

public SACRealm.PairingKey.Builder clearKey()

Output only. Key value.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SACRealm.PairingKey.Builder

This builder for chaining.

getDefaultInstanceForType()

public SACRealm.PairingKey getDefaultInstanceForType()
Returns
Type Description
SACRealm.PairingKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpireTime()

public Timestamp getExpireTime()

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getKey()

public String getKey()

Output only. Key value.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Output only. Key value.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for key.

hasExpireTime()

public boolean hasExpireTime()

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public SACRealm.PairingKey.Builder mergeExpireTime(Timestamp value)

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
SACRealm.PairingKey.Builder

mergeFrom(SACRealm.PairingKey other)

public SACRealm.PairingKey.Builder mergeFrom(SACRealm.PairingKey other)
Parameter
Name Description
other SACRealm.PairingKey
Returns
Type Description
SACRealm.PairingKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SACRealm.PairingKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SACRealm.PairingKey.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SACRealm.PairingKey.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SACRealm.PairingKey.Builder
Overrides

setExpireTime(Timestamp value)

public SACRealm.PairingKey.Builder setExpireTime(Timestamp value)

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
SACRealm.PairingKey.Builder

setExpireTime(Timestamp.Builder builderForValue)

public SACRealm.PairingKey.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SACRealm.PairingKey.Builder

setKey(String value)

public SACRealm.PairingKey.Builder setKey(String value)

Output only. Key value.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The key to set.

Returns
Type Description
SACRealm.PairingKey.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public SACRealm.PairingKey.Builder setKeyBytes(ByteString value)

Output only. Key value.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
SACRealm.PairingKey.Builder

This builder for chaining.