Class GetLbRouteExtensionRequest.Builder (0.5.0)

public static final class GetLbRouteExtensionRequest.Builder extends GeneratedMessageV3.Builder<GetLbRouteExtensionRequest.Builder> implements GetLbRouteExtensionRequestOrBuilder

Message for getting a LbRouteExtension resource.

Protobuf type google.cloud.networkservices.v1.GetLbRouteExtensionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetLbRouteExtensionRequest build()
Returns
Type Description
GetLbRouteExtensionRequest

buildPartial()

public GetLbRouteExtensionRequest buildPartial()
Returns
Type Description
GetLbRouteExtensionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetLbRouteExtensionRequest.Builder clearName()

Required. A name of the LbRouteExtension resource to get. Must be in the format projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.

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

Returns
Type Description
GetLbRouteExtensionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetLbRouteExtensionRequest getDefaultInstanceForType()
Returns
Type Description
GetLbRouteExtensionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. A name of the LbRouteExtension resource to get. Must be in the format projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.

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 LbRouteExtension resource to get. Must be in the format projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetLbRouteExtensionRequest.Builder setName(String value)

Required. A name of the LbRouteExtension resource to get. Must be in the format projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetLbRouteExtensionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetLbRouteExtensionRequest.Builder setNameBytes(ByteString value)

Required. A name of the LbRouteExtension resource to get. Must be in the format projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}.

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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