- 1.55.0 (latest)
- 1.54.0
- 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 Destination.Builder extends GeneratedMessageV3.Builder<Destination.Builder> implements DestinationOrBuilder
Represents a target of an invocation over HTTP.
Protobuf type google.cloud.eventarc.v1.Destination
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Destination.BuilderImplements
DestinationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Destination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Destination.Builder |
build()
public Destination build()
Type | Description |
Destination |
buildPartial()
public Destination buildPartial()
Type | Description |
Destination |
clear()
public Destination.Builder clear()
Type | Description |
Destination.Builder |
clearCloudFunction()
public Destination.Builder clearCloudFunction()
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
Destination.Builder | This builder for chaining. |
clearCloudRun()
public Destination.Builder clearCloudRun()
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Type | Description |
Destination.Builder |
clearDescriptor()
public Destination.Builder clearDescriptor()
Type | Description |
Destination.Builder |
clearField(Descriptors.FieldDescriptor field)
public Destination.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Destination.Builder |
clearGke()
public Destination.Builder clearGke()
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Type | Description |
Destination.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Destination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Destination.Builder |
clearWorkflow()
public Destination.Builder clearWorkflow()
The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project
as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string workflow = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
Destination.Builder | This builder for chaining. |
clone()
public Destination.Builder clone()
Type | Description |
Destination.Builder |
getCloudFunction()
public String getCloudFunction()
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The cloudFunction. |
getCloudFunctionBytes()
public ByteString getCloudFunctionBytes()
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for cloudFunction. |
getCloudRun()
public CloudRun getCloudRun()
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Type | Description |
CloudRun | The cloudRun. |
getCloudRunBuilder()
public CloudRun.Builder getCloudRunBuilder()
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Type | Description |
CloudRun.Builder |
getCloudRunOrBuilder()
public CloudRunOrBuilder getCloudRunOrBuilder()
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Type | Description |
CloudRunOrBuilder |
getDefaultInstanceForType()
public Destination getDefaultInstanceForType()
Type | Description |
Destination |
getDescriptorCase()
public Destination.DescriptorCase getDescriptorCase()
Type | Description |
Destination.DescriptorCase |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGke()
public GKE getGke()
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Type | Description |
GKE | The gke. |
getGkeBuilder()
public GKE.Builder getGkeBuilder()
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Type | Description |
GKE.Builder |
getGkeOrBuilder()
public GKEOrBuilder getGkeOrBuilder()
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Type | Description |
GKEOrBuilder |
getWorkflow()
public String getWorkflow()
The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project
as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string workflow = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The workflow. |
getWorkflowBytes()
public ByteString getWorkflowBytes()
The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project
as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string workflow = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for workflow. |
hasCloudFunction()
public boolean hasCloudFunction()
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the cloudFunction field is set. |
hasCloudRun()
public boolean hasCloudRun()
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Type | Description |
boolean | Whether the cloudRun field is set. |
hasGke()
public boolean hasGke()
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Type | Description |
boolean | Whether the gke field is set. |
hasWorkflow()
public boolean hasWorkflow()
The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project
as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string workflow = 4 [(.google.api.resource_reference) = { ... }
Type | Description |
boolean | Whether the workflow field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCloudRun(CloudRun value)
public Destination.Builder mergeCloudRun(CloudRun value)
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Name | Description |
value | CloudRun |
Type | Description |
Destination.Builder |
mergeFrom(Destination other)
public Destination.Builder mergeFrom(Destination other)
Name | Description |
other | Destination |
Type | Description |
Destination.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Destination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Destination.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Destination.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Destination.Builder |
mergeGke(GKE value)
public Destination.Builder mergeGke(GKE value)
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Name | Description |
value | GKE |
Type | Description |
Destination.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Destination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Destination.Builder |
setCloudFunction(String value)
public Destination.Builder setCloudFunction(String value)
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The cloudFunction to set. |
Type | Description |
Destination.Builder | This builder for chaining. |
setCloudFunctionBytes(ByteString value)
public Destination.Builder setCloudFunctionBytes(ByteString value)
The Cloud Function resource name. Only Cloud Functions V2 is supported.
Format: projects/{project}/locations/{location}/functions/{function}
string cloud_function = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for cloudFunction to set. |
Type | Description |
Destination.Builder | This builder for chaining. |
setCloudRun(CloudRun value)
public Destination.Builder setCloudRun(CloudRun value)
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Name | Description |
value | CloudRun |
Type | Description |
Destination.Builder |
setCloudRun(CloudRun.Builder builderForValue)
public Destination.Builder setCloudRun(CloudRun.Builder builderForValue)
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
.google.cloud.eventarc.v1.CloudRun cloud_run = 1;
Name | Description |
builderForValue | CloudRun.Builder |
Type | Description |
Destination.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Destination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Destination.Builder |
setGke(GKE value)
public Destination.Builder setGke(GKE value)
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Name | Description |
value | GKE |
Type | Description |
Destination.Builder |
setGke(GKE.Builder builderForValue)
public Destination.Builder setGke(GKE.Builder builderForValue)
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
.google.cloud.eventarc.v1.GKE gke = 3;
Name | Description |
builderForValue | GKE.Builder |
Type | Description |
Destination.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Destination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Destination.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Destination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Destination.Builder |
setWorkflow(String value)
public Destination.Builder setWorkflow(String value)
The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project
as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string workflow = 4 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The workflow to set. |
Type | Description |
Destination.Builder | This builder for chaining. |
setWorkflowBytes(ByteString value)
public Destination.Builder setWorkflowBytes(ByteString value)
The resource name of the Workflow whose Executions are triggered by
the events. The Workflow resource should be deployed in the same project
as the trigger.
Format: projects/{project}/locations/{location}/workflows/{workflow}
string workflow = 4 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for workflow to set. |
Type | Description |
Destination.Builder | This builder for chaining. |