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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateTriggerRequest build()
buildPartial()
public UpdateTriggerRequest buildPartial()
clear()
public UpdateTriggerRequest.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public UpdateTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTrigger()
public UpdateTriggerRequest.Builder clearTrigger()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
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;
clearValidateOnly()
public UpdateTriggerRequest.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];
clone()
public UpdateTriggerRequest.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTrigger()
public Trigger getTrigger()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Returns |
Type |
Description |
Trigger |
The trigger.
|
getTriggerBuilder()
public Trigger.Builder getTriggerBuilder()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
getTriggerOrBuilder()
public TriggerOrBuilder getTriggerOrBuilder()
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
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 |
Type |
Description |
FieldMask |
The updateMask.
|
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;
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;
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.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateTriggerRequest other)
public UpdateTriggerRequest.Builder mergeFrom(UpdateTriggerRequest other)
public UpdateTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateTriggerRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTrigger(Trigger value)
public UpdateTriggerRequest.Builder mergeTrigger(Trigger value)
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Parameter |
Name |
Description |
value |
Trigger
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTrigger(Trigger value)
public UpdateTriggerRequest.Builder setTrigger(Trigger value)
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
Parameter |
Name |
Description |
value |
Trigger
|
setTrigger(Trigger.Builder builderForValue)
public UpdateTriggerRequest.Builder setTrigger(Trigger.Builder builderForValue)
The trigger to be updated.
.google.cloud.eventarc.v1.Trigger trigger = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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
|
setValidateOnly(boolean value)
public UpdateTriggerRequest.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 |
boolean
The validateOnly to set.
|