Class GetHttpRouteRequest.Builder (0.3.0)

public static final class GetHttpRouteRequest.Builder extends GeneratedMessageV3.Builder<GetHttpRouteRequest.Builder> implements GetHttpRouteRequestOrBuilder

Request used by the GetHttpRoute method.

Protobuf type google.cloud.networkservices.v1.GetHttpRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetHttpRouteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

build()

public GetHttpRouteRequest build()
Returns
Type Description
GetHttpRouteRequest

buildPartial()

public GetHttpRouteRequest buildPartial()
Returns
Type Description
GetHttpRouteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetHttpRouteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

clearName()

public GetHttpRouteRequest.Builder clearName()

Required. A name of the HttpRoute to get. Must be in the format projects/*/locations/global/httpRoutes/*.

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

Returns
Type Description
GetHttpRouteRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetHttpRouteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

clone()

public GetHttpRouteRequest.Builder clone()
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

getDefaultInstanceForType()

public GetHttpRouteRequest getDefaultInstanceForType()
Returns
Type Description
GetHttpRouteRequest

getDescriptorForType()

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

getName()

public String getName()

Required. A name of the HttpRoute to get. Must be in the format projects/*/locations/global/httpRoutes/*.

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 HttpRoute to get. Must be in the format projects/*/locations/global/httpRoutes/*.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetHttpRouteRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetHttpRouteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetHttpRouteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

setName(String value)

public GetHttpRouteRequest.Builder setName(String value)

Required. A name of the HttpRoute to get. Must be in the format projects/*/locations/global/httpRoutes/*.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetHttpRouteRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetHttpRouteRequest.Builder setNameBytes(ByteString value)

Required. A name of the HttpRoute to get. Must be in the format projects/*/locations/global/httpRoutes/*.

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

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetHttpRouteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetHttpRouteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetHttpRouteRequest.Builder
Overrides