Class CreateLbRouteExtensionRequest.Builder (0.11.0)

public static final class CreateLbRouteExtensionRequest.Builder extends GeneratedMessageV3.Builder<CreateLbRouteExtensionRequest.Builder> implements CreateLbRouteExtensionRequestOrBuilder

Message for creating a LbRouteExtension resource.

Protobuf type google.cloud.networkservices.v1.CreateLbRouteExtensionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateLbRouteExtensionRequest build()
Returns
Type Description
CreateLbRouteExtensionRequest

buildPartial()

public CreateLbRouteExtensionRequest buildPartial()
Returns
Type Description
CreateLbRouteExtensionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLbRouteExtension()

public CreateLbRouteExtensionRequest.Builder clearLbRouteExtension()

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

clearLbRouteExtensionId()

public CreateLbRouteExtensionRequest.Builder clearLbRouteExtensionId()

Required. User-provided ID of the LbRouteExtension resource to be created.

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

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateLbRouteExtensionRequest.Builder clearParent()

Required. The parent resource of the LbRouteExtension resource. Must be in the format projects/{project}/locations/{location}.

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

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

clearRequestId()

public CreateLbRouteExtensionRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateLbRouteExtensionRequest getDefaultInstanceForType()
Returns
Type Description
CreateLbRouteExtensionRequest

getDescriptorForType()

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

getLbRouteExtension()

public LbRouteExtension getLbRouteExtension()

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LbRouteExtension

The lbRouteExtension.

getLbRouteExtensionBuilder()

public LbRouteExtension.Builder getLbRouteExtensionBuilder()

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LbRouteExtension.Builder

getLbRouteExtensionId()

public String getLbRouteExtensionId()

Required. User-provided ID of the LbRouteExtension resource to be created.

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

Returns
Type Description
String

The lbRouteExtensionId.

getLbRouteExtensionIdBytes()

public ByteString getLbRouteExtensionIdBytes()

Required. User-provided ID of the LbRouteExtension resource to be created.

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

Returns
Type Description
ByteString

The bytes for lbRouteExtensionId.

getLbRouteExtensionOrBuilder()

public LbRouteExtensionOrBuilder getLbRouteExtensionOrBuilder()

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LbRouteExtensionOrBuilder

getParent()

public String getParent()

Required. The parent resource of the LbRouteExtension resource. Must be in the format projects/{project}/locations/{location}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the LbRouteExtension resource. Must be in the format projects/{project}/locations/{location}.

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasLbRouteExtension()

public boolean hasLbRouteExtension()

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lbRouteExtension field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateLbRouteExtensionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLbRouteExtension(LbRouteExtension value)

public CreateLbRouteExtensionRequest.Builder mergeLbRouteExtension(LbRouteExtension value)

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LbRouteExtension
Returns
Type Description
CreateLbRouteExtensionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLbRouteExtension(LbRouteExtension value)

public CreateLbRouteExtensionRequest.Builder setLbRouteExtension(LbRouteExtension value)

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LbRouteExtension
Returns
Type Description
CreateLbRouteExtensionRequest.Builder

setLbRouteExtension(LbRouteExtension.Builder builderForValue)

public CreateLbRouteExtensionRequest.Builder setLbRouteExtension(LbRouteExtension.Builder builderForValue)

Required. LbRouteExtension resource to be created.

.google.cloud.networkservices.v1.LbRouteExtension lb_route_extension = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue LbRouteExtension.Builder
Returns
Type Description
CreateLbRouteExtensionRequest.Builder

setLbRouteExtensionId(String value)

public CreateLbRouteExtensionRequest.Builder setLbRouteExtensionId(String value)

Required. User-provided ID of the LbRouteExtension resource to be created.

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

Parameter
Name Description
value String

The lbRouteExtensionId to set.

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

setLbRouteExtensionIdBytes(ByteString value)

public CreateLbRouteExtensionRequest.Builder setLbRouteExtensionIdBytes(ByteString value)

Required. User-provided ID of the LbRouteExtension resource to be created.

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

Parameter
Name Description
value ByteString

The bytes for lbRouteExtensionId to set.

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

setParent(String value)

public CreateLbRouteExtensionRequest.Builder setParent(String value)

Required. The parent resource of the LbRouteExtension resource. Must be in the format projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateLbRouteExtensionRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the LbRouteExtension resource. Must be in the format projects/{project}/locations/{location}.

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

This builder for chaining.

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

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

setRequestId(String value)

public CreateLbRouteExtensionRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateLbRouteExtensionRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateLbRouteExtensionRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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