Class GetAgentGatewayRequest.Builder (0.50.0)

public static final class GetAgentGatewayRequest.Builder extends GeneratedMessage.Builder<GetAgentGatewayRequest.Builder> implements GetAgentGatewayRequestOrBuilder

Request used by the GetAgentGateway method.

Protobuf type google.cloud.networkservices.v1.GetAgentGatewayRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetAgentGatewayRequest build()
Returns
Type Description
GetAgentGatewayRequest

buildPartial()

public GetAgentGatewayRequest buildPartial()
Returns
Type Description
GetAgentGatewayRequest

clear()

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

clearName()

public GetAgentGatewayRequest.Builder clearName()

Required. A name of the AgentGateway to get. Must be in the format projects/*/locations/*/agentGateways/*.

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

Returns
Type Description
GetAgentGatewayRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetAgentGatewayRequest getDefaultInstanceForType()
Returns
Type Description
GetAgentGatewayRequest

getDescriptorForType()

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

getName()

public String getName()

Required. A name of the AgentGateway to get. Must be in the format projects/*/locations/*/agentGateways/*.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A name of the AgentGateway to get. Must be in the format projects/*/locations/*/agentGateways/*.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetAgentGatewayRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetAgentGatewayRequest.Builder setName(String value)

Required. A name of the AgentGateway to get. Must be in the format projects/*/locations/*/agentGateways/*.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetAgentGatewayRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAgentGatewayRequest.Builder setNameBytes(ByteString value)

Required. A name of the AgentGateway to get. Must be in the format projects/*/locations/*/agentGateways/*.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetAgentGatewayRequest.Builder

This builder for chaining.