public static final class CreateAccountConnectorRequest.Builder extends GeneratedMessageV3.Builder<CreateAccountConnectorRequest.Builder> implements CreateAccountConnectorRequestOrBuilder
Protobuf type google.cloud.developerconnect.v1.CreateAccountConnectorRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateAccountConnectorRequest.BuilderImplements
CreateAccountConnectorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateAccountConnectorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
build()
public CreateAccountConnectorRequest build()
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest |
buildPartial()
public CreateAccountConnectorRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest |
clear()
public CreateAccountConnectorRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
clearAccountConnector()
public CreateAccountConnectorRequest.Builder clearAccountConnector()
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
clearAccountConnectorId()
public CreateAccountConnectorRequest.Builder clearAccountConnectorId()
Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.
string account_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateAccountConnectorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAccountConnectorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
clearParent()
public CreateAccountConnectorRequest.Builder clearParent()
Required. Location resource name as the account_connector’s parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateAccountConnectorRequest.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 |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public CreateAccountConnectorRequest.Builder clearValidateOnly()
Optional. If set, validate the request, but do not actually post it.
bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
clone()
public CreateAccountConnectorRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
getAccountConnector()
public AccountConnector getAccountConnector()
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AccountConnector |
The accountConnector. |
getAccountConnectorBuilder()
public AccountConnector.Builder getAccountConnectorBuilder()
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AccountConnector.Builder |
getAccountConnectorId()
public String getAccountConnectorId()
Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.
string account_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The accountConnectorId. |
getAccountConnectorIdBytes()
public ByteString getAccountConnectorIdBytes()
Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.
string account_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for accountConnectorId. |
getAccountConnectorOrBuilder()
public AccountConnectorOrBuilder getAccountConnectorOrBuilder()
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AccountConnectorOrBuilder |
getDefaultInstanceForType()
public CreateAccountConnectorRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. Location resource name as the account_connector’s parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Location resource name as the account_connector’s parent.
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. |
getValidateOnly()
public boolean getValidateOnly()
Optional. If set, validate the request, but do not actually post it.
bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The validateOnly. |
hasAccountConnector()
public boolean hasAccountConnector()
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the accountConnector field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAccountConnector(AccountConnector value)
public CreateAccountConnectorRequest.Builder mergeAccountConnector(AccountConnector value)
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AccountConnector |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
mergeFrom(CreateAccountConnectorRequest other)
public CreateAccountConnectorRequest.Builder mergeFrom(CreateAccountConnectorRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateAccountConnectorRequest |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAccountConnectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateAccountConnectorRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAccountConnectorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
setAccountConnector(AccountConnector value)
public CreateAccountConnectorRequest.Builder setAccountConnector(AccountConnector value)
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AccountConnector |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
setAccountConnector(AccountConnector.Builder builderForValue)
public CreateAccountConnectorRequest.Builder setAccountConnector(AccountConnector.Builder builderForValue)
Required. The AccountConnector to create.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
AccountConnector.Builder |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
setAccountConnectorId(String value)
public CreateAccountConnectorRequest.Builder setAccountConnectorId(String value)
Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.
string account_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The accountConnectorId to set. |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
setAccountConnectorIdBytes(ByteString value)
public CreateAccountConnectorRequest.Builder setAccountConnectorIdBytes(ByteString value)
Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to https://google.aip.dev/122#resource-id-segments Names must be unique per-project per-location.
string account_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for accountConnectorId to set. |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAccountConnectorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
setParent(String value)
public CreateAccountConnectorRequest.Builder setParent(String value)
Required. Location resource name as the account_connector’s parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateAccountConnectorRequest.Builder setParentBytes(ByteString value)
Required. Location resource name as the account_connector’s parent.
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 |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAccountConnectorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
setRequestId(String value)
public CreateAccountConnectorRequest.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 |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateAccountConnectorRequest.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 |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAccountConnectorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
setValidateOnly(boolean value)
public CreateAccountConnectorRequest.Builder setValidateOnly(boolean value)
Optional. If set, validate the request, but do not actually post it.
bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
CreateAccountConnectorRequest.Builder |
This builder for chaining. |