Class ParseFromActivationKeyRequest.Builder (1.94.0)

public static final class ParseFromActivationKeyRequest.Builder extends GeneratedMessage.Builder<ParseFromActivationKeyRequest.Builder> implements ParseFromActivationKeyRequestOrBuilder

Message for getting a RemoteTransportProfile from an activation key.

Protobuf type google.cloud.networkconnectivity.v1beta.ParseFromActivationKeyRequest

Static Methods

getDescriptor()

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

Methods

build()

public ParseFromActivationKeyRequest build()
Returns
Type Description
ParseFromActivationKeyRequest

buildPartial()

public ParseFromActivationKeyRequest buildPartial()
Returns
Type Description
ParseFromActivationKeyRequest

clear()

public ParseFromActivationKeyRequest.Builder clear()
Returns
Type Description
ParseFromActivationKeyRequest.Builder
Overrides

clearActivationKey()

public ParseFromActivationKeyRequest.Builder clearActivationKey()

Required. The activation key to get the RemoteTransportProfile for.

string activation_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ParseFromActivationKeyRequest.Builder

This builder for chaining.

clearParent()

public ParseFromActivationKeyRequest.Builder clearParent()

Required. Parent value for ParseFromActivationKeyRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ParseFromActivationKeyRequest.Builder

This builder for chaining.

getActivationKey()

public String getActivationKey()

Required. The activation key to get the RemoteTransportProfile for.

string activation_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The activationKey.

getActivationKeyBytes()

public ByteString getActivationKeyBytes()

Required. The activation key to get the RemoteTransportProfile for.

string activation_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for activationKey.

getDefaultInstanceForType()

public ParseFromActivationKeyRequest getDefaultInstanceForType()
Returns
Type Description
ParseFromActivationKeyRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Parent value for ParseFromActivationKeyRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value for ParseFromActivationKeyRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ParseFromActivationKeyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setActivationKey(String value)

public ParseFromActivationKeyRequest.Builder setActivationKey(String value)

Required. The activation key to get the RemoteTransportProfile for.

string activation_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The activationKey to set.

Returns
Type Description
ParseFromActivationKeyRequest.Builder

This builder for chaining.

setActivationKeyBytes(ByteString value)

public ParseFromActivationKeyRequest.Builder setActivationKeyBytes(ByteString value)

Required. The activation key to get the RemoteTransportProfile for.

string activation_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for activationKey to set.

Returns
Type Description
ParseFromActivationKeyRequest.Builder

This builder for chaining.

setParent(String value)

public ParseFromActivationKeyRequest.Builder setParent(String value)

Required. Parent value for ParseFromActivationKeyRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ParseFromActivationKeyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ParseFromActivationKeyRequest.Builder setParentBytes(ByteString value)

Required. Parent value for ParseFromActivationKeyRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ParseFromActivationKeyRequest.Builder

This builder for chaining.