public final class UpdateTriggerRequest extends GeneratedMessageV3 implements UpdateTriggerRequestOrBuilder
The request message for the UpdateTrigger method.
Protobuf type google.cloud.eventarc.v1.UpdateTriggerRequest
Static Fields
ALLOW_MISSING_FIELD_NUMBER
public static final int ALLOW_MISSING_FIELD_NUMBER
Field Value
TRIGGER_FIELD_NUMBER
public static final int TRIGGER_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateTriggerRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateTriggerRequest.Builder newBuilder()
Returns
newBuilder(UpdateTriggerRequest prototype)
public static UpdateTriggerRequest.Builder newBuilder(UpdateTriggerRequest prototype)
Parameter
Returns
public static UpdateTriggerRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateTriggerRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateTriggerRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateTriggerRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateTriggerRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateTriggerRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateTriggerRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateTriggerRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateTriggerRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateTriggerRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateTriggerRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateTriggerRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateTriggerRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
getParserForType()
public Parser<UpdateTriggerRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTrigger()
public Trigger getTrigger()
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateTriggerRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateTriggerRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateTriggerRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions