public static final class CreateBindingRequest.Builder extends GeneratedMessage.Builder<CreateBindingRequest.Builder> implements CreateBindingRequestOrBuilderMessage for creating a Binding
Protobuf type google.cloud.agentregistry.v1.CreateBindingRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateBindingRequest.BuilderImplements
CreateBindingRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateBindingRequest build()| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest |
|
buildPartial()
public CreateBindingRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest |
|
clear()
public CreateBindingRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
clearBinding()
public CreateBindingRequest.Builder clearBinding()Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
clearBindingId()
public CreateBindingRequest.Builder clearBindingId()Required. The ID to use for the binding, which will become the final component of the binding's resource name.
This value should be 4-63 characters, and must conform to RFC-1034.
Specifically, it must match the regular expression
^a-z?$.
string binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
clearParent()
public CreateBindingRequest.Builder clearParent() Required. The project and location to create the Binding in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateBindingRequest.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 will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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 |
CreateBindingRequest.Builder |
This builder for chaining. |
getBinding()
public Binding getBinding()Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Binding |
The binding. |
getBindingBuilder()
public Binding.Builder getBindingBuilder()Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Binding.Builder |
|
getBindingId()
public String getBindingId()Required. The ID to use for the binding, which will become the final component of the binding's resource name.
This value should be 4-63 characters, and must conform to RFC-1034.
Specifically, it must match the regular expression
^a-z?$.
string binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The bindingId. |
getBindingIdBytes()
public ByteString getBindingIdBytes()Required. The ID to use for the binding, which will become the final component of the binding's resource name.
This value should be 4-63 characters, and must conform to RFC-1034.
Specifically, it must match the regular expression
^a-z?$.
string binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bindingId. |
getBindingOrBuilder()
public BindingOrBuilder getBindingOrBuilder()Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BindingOrBuilder |
|
getDefaultInstanceForType()
public CreateBindingRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The project and location to create the Binding in.
Expected 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 project and location to create the Binding in.
Expected 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 will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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 will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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. |
hasBinding()
public boolean hasBinding()Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the binding field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBinding(Binding value)
public CreateBindingRequest.Builder mergeBinding(Binding value)Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
mergeFrom(CreateBindingRequest other)
public CreateBindingRequest.Builder mergeFrom(CreateBindingRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateBindingRequest |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateBindingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateBindingRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
setBinding(Binding value)
public CreateBindingRequest.Builder setBinding(Binding value)Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
setBinding(Binding.Builder builderForValue)
public CreateBindingRequest.Builder setBinding(Binding.Builder builderForValue)Required. The Binding resource that is being created.
.google.cloud.agentregistry.v1.Binding binding = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
|
setBindingId(String value)
public CreateBindingRequest.Builder setBindingId(String value)Required. The ID to use for the binding, which will become the final component of the binding's resource name.
This value should be 4-63 characters, and must conform to RFC-1034.
Specifically, it must match the regular expression
^a-z?$.
string binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe bindingId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
setBindingIdBytes(ByteString value)
public CreateBindingRequest.Builder setBindingIdBytes(ByteString value)Required. The ID to use for the binding, which will become the final component of the binding's resource name.
This value should be 4-63 characters, and must conform to RFC-1034.
Specifically, it must match the regular expression
^a-z?$.
string binding_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for bindingId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateBindingRequest.Builder setParent(String value) Required. The project and location to create the Binding in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateBindingRequest.Builder setParentBytes(ByteString value) Required. The project and location to create the Binding in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateBindingRequest.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 will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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 |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateBindingRequest.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 will know to ignore the request if it has already been completed. The server will guarantee 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, will ignore 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 |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateBindingRequest.Builder |
This builder for chaining. |