Class GetGatewayRouteViewRequest.Builder (0.39.0)

public static final class GetGatewayRouteViewRequest.Builder extends GeneratedMessage.Builder<GetGatewayRouteViewRequest.Builder> implements GetGatewayRouteViewRequestOrBuilder

Request used with the GetGatewayRouteView method.

Protobuf type google.cloud.networkservices.v1.GetGatewayRouteViewRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetGatewayRouteViewRequest build()
Returns
Type Description
GetGatewayRouteViewRequest

buildPartial()

public GetGatewayRouteViewRequest buildPartial()
Returns
Type Description
GetGatewayRouteViewRequest

clear()

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

clearName()

public GetGatewayRouteViewRequest.Builder clearName()

Required. Name of the GatewayRouteView resource. Formats: projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

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

Returns
Type Description
GetGatewayRouteViewRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetGatewayRouteViewRequest getDefaultInstanceForType()
Returns
Type Description
GetGatewayRouteViewRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the GatewayRouteView resource. Formats: projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the GatewayRouteView resource. Formats: projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

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(GetGatewayRouteViewRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetGatewayRouteViewRequest.Builder setName(String value)

Required. Name of the GatewayRouteView resource. Formats: projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetGatewayRouteViewRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetGatewayRouteViewRequest.Builder setNameBytes(ByteString value)

Required. Name of the GatewayRouteView resource. Formats: projects/{project}/locations/{location}/gateways/{gateway}/routeViews/{route_view}

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
GetGatewayRouteViewRequest.Builder

This builder for chaining.