- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.2.4
public static final class CreateTriggerRequest.Builder extends GeneratedMessageV3.Builder<CreateTriggerRequest.Builder> implements CreateTriggerRequestOrBuilder
The request message for the CreateTrigger method.
Protobuf type google.cloud.eventarc.v1.CreateTriggerRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateTriggerRequest.BuilderImplements
CreateTriggerRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateTriggerRequest.Builder |
build()
public CreateTriggerRequest build()
Type | Description |
CreateTriggerRequest |
buildPartial()
public CreateTriggerRequest buildPartial()
Type | Description |
CreateTriggerRequest |
clear()
public CreateTriggerRequest.Builder clear()
Type | Description |
CreateTriggerRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateTriggerRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateTriggerRequest.Builder |
clearParent()
public CreateTriggerRequest.Builder clearParent()
Required. The parent collection in which to add this trigger.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
clearTrigger()
public CreateTriggerRequest.Builder clearTrigger()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateTriggerRequest.Builder |
clearTriggerId()
public CreateTriggerRequest.Builder clearTriggerId()
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
clearValidateOnly()
public CreateTriggerRequest.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];
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
clone()
public CreateTriggerRequest.Builder clone()
Type | Description |
CreateTriggerRequest.Builder |
getDefaultInstanceForType()
public CreateTriggerRequest getDefaultInstanceForType()
Type | Description |
CreateTriggerRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The parent collection in which to add this trigger.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent collection in which to add this trigger.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getTrigger()
public Trigger getTrigger()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Trigger | The trigger. |
getTriggerBuilder()
public Trigger.Builder getTriggerBuilder()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Trigger.Builder |
getTriggerId()
public String getTriggerId()
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The triggerId. |
getTriggerIdBytes()
public ByteString getTriggerIdBytes()
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for triggerId. |
getTriggerOrBuilder()
public TriggerOrBuilder getTriggerOrBuilder()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TriggerOrBuilder |
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];
Type | Description |
boolean | The validateOnly. |
hasTrigger()
public boolean hasTrigger()
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the trigger field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateTriggerRequest other)
public CreateTriggerRequest.Builder mergeFrom(CreateTriggerRequest other)
Name | Description |
other | CreateTriggerRequest |
Type | Description |
CreateTriggerRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateTriggerRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateTriggerRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateTriggerRequest.Builder |
mergeTrigger(Trigger value)
public CreateTriggerRequest.Builder mergeTrigger(Trigger value)
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Trigger |
Type | Description |
CreateTriggerRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateTriggerRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateTriggerRequest.Builder |
setParent(String value)
public CreateTriggerRequest.Builder setParent(String value)
Required. The parent collection in which to add this trigger.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateTriggerRequest.Builder setParentBytes(ByteString value)
Required. The parent collection in which to add this trigger.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateTriggerRequest.Builder |
setTrigger(Trigger value)
public CreateTriggerRequest.Builder setTrigger(Trigger value)
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Trigger |
Type | Description |
CreateTriggerRequest.Builder |
setTrigger(Trigger.Builder builderForValue)
public CreateTriggerRequest.Builder setTrigger(Trigger.Builder builderForValue)
Required. The trigger to create.
.google.cloud.eventarc.v1.Trigger trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Trigger.Builder |
Type | Description |
CreateTriggerRequest.Builder |
setTriggerId(String value)
public CreateTriggerRequest.Builder setTriggerId(String value)
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The triggerId to set. |
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
setTriggerIdBytes(ByteString value)
public CreateTriggerRequest.Builder setTriggerIdBytes(ByteString value)
Required. The user-provided ID to be assigned to the trigger.
string trigger_id = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for triggerId to set. |
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateTriggerRequest.Builder |
setValidateOnly(boolean value)
public CreateTriggerRequest.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];
Name | Description |
value | boolean The validateOnly to set. |
Type | Description |
CreateTriggerRequest.Builder | This builder for chaining. |