public static final class UpdateAccountConnectorRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccountConnectorRequest.Builder> implements UpdateAccountConnectorRequestOrBuilder
Message for updating a AccountConnector
Protobuf type google.cloud.developerconnect.v1.UpdateAccountConnectorRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateAccountConnectorRequest.BuilderImplements
UpdateAccountConnectorRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccountConnectorRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
build()
public UpdateAccountConnectorRequest build()
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest |
buildPartial()
public UpdateAccountConnectorRequest buildPartial()
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest |
clear()
public UpdateAccountConnectorRequest.Builder clear()
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
clearAccountConnector()
public UpdateAccountConnectorRequest.Builder clearAccountConnector()
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
clearAllowMissing()
public UpdateAccountConnectorRequest.Builder clearAllowMissing()
Optional. If set to true, and the accountConnector is not found a new
accountConnector will be created. In this situation update_mask
is
ignored. The creation will succeed only if the input accountConnector has
all the necessary
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public UpdateAccountConnectorRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAccountConnectorRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
clearRequestId()
public UpdateAccountConnectorRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateAccountConnectorRequest.Builder clearUpdateMask()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
clearValidateOnly()
public UpdateAccountConnectorRequest.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 |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |
clone()
public UpdateAccountConnectorRequest.Builder clone()
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
getAccountConnector()
public AccountConnector getAccountConnector()
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AccountConnector |
The accountConnector. |
getAccountConnectorBuilder()
public AccountConnector.Builder getAccountConnectorBuilder()
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AccountConnector.Builder |
getAccountConnectorOrBuilder()
public AccountConnectorOrBuilder getAccountConnectorOrBuilder()
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AccountConnectorOrBuilder |
getAllowMissing()
public boolean getAllowMissing()
Optional. If set to true, and the accountConnector is not found a new
accountConnector will be created. In this situation update_mask
is
ignored. The creation will succeed only if the input accountConnector has
all the necessary
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The allowMissing. |
getDefaultInstanceForType()
public UpdateAccountConnectorRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestId. |
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FieldMaskOrBuilder |
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 update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the accountConnector field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask 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 UpdateAccountConnectorRequest.Builder mergeAccountConnector(AccountConnector value)
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AccountConnector |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
mergeFrom(UpdateAccountConnectorRequest other)
public UpdateAccountConnectorRequest.Builder mergeFrom(UpdateAccountConnectorRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateAccountConnectorRequest |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAccountConnectorRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateAccountConnectorRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccountConnectorRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateAccountConnectorRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setAccountConnector(AccountConnector value)
public UpdateAccountConnectorRequest.Builder setAccountConnector(AccountConnector value)
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AccountConnector |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setAccountConnector(AccountConnector.Builder builderForValue)
public UpdateAccountConnectorRequest.Builder setAccountConnector(AccountConnector.Builder builderForValue)
Required. The AccountConnector to update.
.google.cloud.developerconnect.v1.AccountConnector account_connector = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
AccountConnector.Builder |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setAllowMissing(boolean value)
public UpdateAccountConnectorRequest.Builder setAllowMissing(boolean value)
Optional. If set to true, and the accountConnector is not found a new
accountConnector will be created. In this situation update_mask
is
ignored. The creation will succeed only if the input accountConnector has
all the necessary
bool allow_missing = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The allowMissing to set. |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAccountConnectorRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAccountConnectorRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setRequestId(String value)
public UpdateAccountConnectorRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The requestId to set. |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpdateAccountConnectorRequest.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 = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for requestId to set. |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAccountConnectorRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateAccountConnectorRequest.Builder setUpdateMask(FieldMask value)
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
FieldMask |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAccountConnectorRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UpdateAccountConnectorRequest.Builder |
setValidateOnly(boolean value)
public UpdateAccountConnectorRequest.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 |
UpdateAccountConnectorRequest.Builder |
This builder for chaining. |