public static final class UpdateTriggerRequest.Builder extends GeneratedMessageV3.Builder<UpdateTriggerRequest.Builder> implements UpdateTriggerRequestOrBuilder
The request message for the UpdateTrigger method.
Protobuf type google.cloud.eventarc.v1.UpdateTriggerRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateTriggerRequest build()
Returns
buildPartial()
public UpdateTriggerRequest buildPartial()
Returns
clear()
public UpdateTriggerRequest.Builder clear()
Returns
Overrides
clearAllowMissing()
public UpdateTriggerRequest.Builder clearAllowMissing()
If set to true, and the trigger is not found, a new trigger will be
created. In this situation, update_mask
is ignored.
bool allow_missing = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTrigger()
public UpdateTriggerRequest.Builder clearTrigger()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Returns
clearUpdateMask()
public UpdateTriggerRequest.Builder clearUpdateMask()
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;
Returns
clearValidateOnly()
public UpdateTriggerRequest.Builder clearValidateOnly()
Required. If set, validate the request and preview the review, but do not
post it.
bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateTriggerRequest.Builder clone()
Returns
Overrides
getAllowMissing()
public boolean getAllowMissing()
If set to true, and the trigger is not found, a new trigger will be
created. In this situation, update_mask
is ignored.
bool allow_missing = 3;
Returns
Type | Description |
boolean | The allowMissing.
|
getDefaultInstanceForType()
public UpdateTriggerRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTrigger()
public Trigger getTrigger()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Returns
getTriggerBuilder()
public Trigger.Builder getTriggerBuilder()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Returns
getTriggerOrBuilder()
public TriggerOrBuilder getTriggerOrBuilder()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Returns
getUpdateMask()
public FieldMask getUpdateMask()
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;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
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;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
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;
Returns
getValidateOnly()
public boolean getValidateOnly()
Required. If set, validate the request and preview the review, but do not
post it.
bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | The validateOnly.
|
hasTrigger()
public boolean hasTrigger()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Returns
Type | Description |
boolean | Whether the trigger field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
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;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateTriggerRequest other)
public UpdateTriggerRequest.Builder mergeFrom(UpdateTriggerRequest other)
Parameter
Returns
public UpdateTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateTriggerRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTrigger(Trigger value)
public UpdateTriggerRequest.Builder mergeTrigger(Trigger value)
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateTriggerRequest.Builder mergeUpdateMask(FieldMask value)
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;
Parameter
Returns
setAllowMissing(boolean value)
public UpdateTriggerRequest.Builder setAllowMissing(boolean value)
If set to true, and the trigger is not found, a new trigger will be
created. In this situation, update_mask
is ignored.
bool allow_missing = 3;
Parameter
Name | Description |
value | boolean
The allowMissing to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTrigger(Trigger value)
public UpdateTriggerRequest.Builder setTrigger(Trigger value)
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Parameter
Returns
setTrigger(Trigger.Builder builderForValue)
public UpdateTriggerRequest.Builder setTrigger(Trigger.Builder builderForValue)
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateTriggerRequest.Builder setUpdateMask(FieldMask value)
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;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateTriggerRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setValidateOnly(boolean value)
public UpdateTriggerRequest.Builder setValidateOnly(boolean value)
Required. If set, validate the request and preview the review, but do not
post it.
bool validate_only = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | boolean
The validateOnly to set.
|
Returns