public static final class CreateLbTrafficExtensionRequest.Builder extends GeneratedMessageV3.Builder<CreateLbTrafficExtensionRequest.Builder> implements CreateLbTrafficExtensionRequestOrBuilder
Message for creating a LbTrafficExtension
resource.
Protobuf type google.cloud.networkservices.v1.CreateLbTrafficExtensionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateLbTrafficExtensionRequest.BuilderImplements
CreateLbTrafficExtensionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateLbTrafficExtensionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
build()
public CreateLbTrafficExtensionRequest build()
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest |
buildPartial()
public CreateLbTrafficExtensionRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest |
clear()
public CreateLbTrafficExtensionRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateLbTrafficExtensionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
clearLbTrafficExtension()
public CreateLbTrafficExtensionRequest.Builder clearLbTrafficExtension()
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
clearLbTrafficExtensionId()
public CreateLbTrafficExtensionRequest.Builder clearLbTrafficExtensionId()
Required. User-provided ID of the LbTrafficExtension
resource to be
created.
string lb_traffic_extension_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateLbTrafficExtensionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
clearParent()
public CreateLbTrafficExtensionRequest.Builder clearParent()
Required. The parent resource of the LbTrafficExtension
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 |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateLbTrafficExtensionRequest.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 |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
clone()
public CreateLbTrafficExtensionRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
getDefaultInstanceForType()
public CreateLbTrafficExtensionRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLbTrafficExtension()
public LbTrafficExtension getLbTrafficExtension()
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LbTrafficExtension |
The lbTrafficExtension. |
getLbTrafficExtensionBuilder()
public LbTrafficExtension.Builder getLbTrafficExtensionBuilder()
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LbTrafficExtension.Builder |
getLbTrafficExtensionId()
public String getLbTrafficExtensionId()
Required. User-provided ID of the LbTrafficExtension
resource to be
created.
string lb_traffic_extension_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The lbTrafficExtensionId. |
getLbTrafficExtensionIdBytes()
public ByteString getLbTrafficExtensionIdBytes()
Required. User-provided ID of the LbTrafficExtension
resource to be
created.
string lb_traffic_extension_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for lbTrafficExtensionId. |
getLbTrafficExtensionOrBuilder()
public LbTrafficExtensionOrBuilder getLbTrafficExtensionOrBuilder()
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LbTrafficExtensionOrBuilder |
getParent()
public String getParent()
Required. The parent resource of the LbTrafficExtension
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 LbTrafficExtension
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. |
hasLbTrafficExtension()
public boolean hasLbTrafficExtension()
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the lbTrafficExtension field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateLbTrafficExtensionRequest other)
public CreateLbTrafficExtensionRequest.Builder mergeFrom(CreateLbTrafficExtensionRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateLbTrafficExtensionRequest |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateLbTrafficExtensionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateLbTrafficExtensionRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
mergeLbTrafficExtension(LbTrafficExtension value)
public CreateLbTrafficExtensionRequest.Builder mergeLbTrafficExtension(LbTrafficExtension value)
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
LbTrafficExtension |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateLbTrafficExtensionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateLbTrafficExtensionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
setLbTrafficExtension(LbTrafficExtension value)
public CreateLbTrafficExtensionRequest.Builder setLbTrafficExtension(LbTrafficExtension value)
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
LbTrafficExtension |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
setLbTrafficExtension(LbTrafficExtension.Builder builderForValue)
public CreateLbTrafficExtensionRequest.Builder setLbTrafficExtension(LbTrafficExtension.Builder builderForValue)
Required. LbTrafficExtension
resource to be created.
.google.cloud.networkservices.v1.LbTrafficExtension lb_traffic_extension = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
LbTrafficExtension.Builder |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
setLbTrafficExtensionId(String value)
public CreateLbTrafficExtensionRequest.Builder setLbTrafficExtensionId(String value)
Required. User-provided ID of the LbTrafficExtension
resource to be
created.
string lb_traffic_extension_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The lbTrafficExtensionId to set. |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
setLbTrafficExtensionIdBytes(ByteString value)
public CreateLbTrafficExtensionRequest.Builder setLbTrafficExtensionIdBytes(ByteString value)
Required. User-provided ID of the LbTrafficExtension
resource to be
created.
string lb_traffic_extension_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for lbTrafficExtensionId to set. |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateLbTrafficExtensionRequest.Builder setParent(String value)
Required. The parent resource of the LbTrafficExtension
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 |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateLbTrafficExtensionRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the LbTrafficExtension
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 |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateLbTrafficExtensionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |
setRequestId(String value)
public CreateLbTrafficExtensionRequest.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 |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateLbTrafficExtensionRequest.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 |
CreateLbTrafficExtensionRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateLbTrafficExtensionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateLbTrafficExtensionRequest.Builder |