public final class Destination extends GeneratedMessageV3 implements DestinationOrBuilder
Represents a target of an invocation over HTTP.
Protobuf type google.cloud.eventarc.v1.Destination
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CLOUD_FUNCTION_FIELD_NUMBER
public static final int CLOUD_FUNCTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CLOUD_RUN_FIELD_NUMBER
public static final int CLOUD_RUN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GKE_FIELD_NUMBER
public static final int GKE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WORKFLOW_FIELD_NUMBER
public static final int WORKFLOW_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Destination getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Destination.Builder newBuilder()
newBuilder(Destination prototype)
public static Destination.Builder newBuilder(Destination prototype)
public static Destination parseDelimitedFrom(InputStream input)
public static Destination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Destination parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Destination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Destination parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Destination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Destination parseFrom(CodedInputStream input)
public static Destination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Destination parseFrom(InputStream input)
public static Destination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Destination parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Destination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Destination> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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) = { ... }
Returns |
---|
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) = { ... }
Returns |
---|
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;
Returns |
---|
Type | Description |
CloudRun | The cloudRun.
|
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;
getDefaultInstanceForType()
public Destination getDefaultInstanceForType()
getDescriptorCase()
public Destination.DescriptorCase getDescriptorCase()
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;
Returns |
---|
Type | Description |
GKE | The gke.
|
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;
getParserForType()
public Parser<Destination> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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) = { ... }
Returns |
---|
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) = { ... }
Returns |
---|
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) = { ... }
Returns |
---|
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;
Returns |
---|
Type | Description |
boolean | Whether the cloudRun field is set.
|
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;
Returns |
---|
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) = { ... }
Returns |
---|
Type | Description |
boolean | Whether the workflow field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Destination.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Destination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Destination.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides