public static final class UpdateGoogleApiSourceRequest.Builder extends GeneratedMessage.Builder<UpdateGoogleApiSourceRequest.Builder> implements UpdateGoogleApiSourceRequestOrBuilderThe request message for the UpdateGoogleApiSource method.
Protobuf type google.cloud.eventarc.v1.UpdateGoogleApiSourceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateGoogleApiSourceRequest.BuilderImplements
UpdateGoogleApiSourceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateGoogleApiSourceRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest |
|
buildPartial()
public UpdateGoogleApiSourceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest |
|
clear()
public UpdateGoogleApiSourceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
clearAllowMissing()
public UpdateGoogleApiSourceRequest.Builder clearAllowMissing() Optional. If set to true, and the GoogleApiSource is not found, a new
GoogleApiSource will be created. In this situation, update_mask is
ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
This builder for chaining. |
clearGoogleApiSource()
public UpdateGoogleApiSourceRequest.Builder clearGoogleApiSource()Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
clearUpdateMask()
public UpdateGoogleApiSourceRequest.Builder clearUpdateMask()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
clearValidateOnly()
public UpdateGoogleApiSourceRequest.Builder clearValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
This builder for chaining. |
getAllowMissing()
public boolean getAllowMissing() Optional. If set to true, and the GoogleApiSource is not found, a new
GoogleApiSource will be created. In this situation, update_mask is
ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The allowMissing. |
getDefaultInstanceForType()
public UpdateGoogleApiSourceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoogleApiSource()
public GoogleApiSource getGoogleApiSource()Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleApiSource |
The googleApiSource. |
getGoogleApiSourceBuilder()
public GoogleApiSource.Builder getGoogleApiSourceBuilder()Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleApiSource.Builder |
|
getGoogleApiSourceOrBuilder()
public GoogleApiSourceOrBuilder getGoogleApiSourceOrBuilder()Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleApiSourceOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getValidateOnly()
public boolean getValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasGoogleApiSource()
public boolean hasGoogleApiSource()Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the googleApiSource field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateGoogleApiSourceRequest other)
public UpdateGoogleApiSourceRequest.Builder mergeFrom(UpdateGoogleApiSourceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateGoogleApiSourceRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateGoogleApiSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateGoogleApiSourceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
mergeGoogleApiSource(GoogleApiSource value)
public UpdateGoogleApiSourceRequest.Builder mergeGoogleApiSource(GoogleApiSource value)Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GoogleApiSource |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateGoogleApiSourceRequest.Builder mergeUpdateMask(FieldMask value)Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
setAllowMissing(boolean value)
public UpdateGoogleApiSourceRequest.Builder setAllowMissing(boolean value) Optional. If set to true, and the GoogleApiSource is not found, a new
GoogleApiSource will be created. In this situation, update_mask is
ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe allowMissing to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
This builder for chaining. |
setGoogleApiSource(GoogleApiSource value)
public UpdateGoogleApiSourceRequest.Builder setGoogleApiSource(GoogleApiSource value)Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
GoogleApiSource |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
setGoogleApiSource(GoogleApiSource.Builder builderForValue)
public UpdateGoogleApiSourceRequest.Builder setGoogleApiSource(GoogleApiSource.Builder builderForValue)Required. The GoogleApiSource to be updated.
.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GoogleApiSource.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateGoogleApiSourceRequest.Builder setUpdateMask(FieldMask value)Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGoogleApiSourceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*".
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
|
setValidateOnly(boolean value)
public UpdateGoogleApiSourceRequest.Builder setValidateOnly(boolean value)Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateGoogleApiSourceRequest.Builder |
This builder for chaining. |