public static final class CloudRun.Builder extends GeneratedMessageV3.Builder<CloudRun.Builder> implements CloudRunOrBuilderRepresents a Cloud Run destination.
Protobuf type google.events.cloud.eventarc.v1.CloudRun
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudRun.BuilderImplements
CloudRunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
build()
public CloudRun build()| Returns | |
|---|---|
| Type | Description |
CloudRun |
|
buildPartial()
public CloudRun buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudRun |
|
clear()
public CloudRun.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public CloudRun.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
clearPath()
public CloudRun.Builder clearPath()Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 2;
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
clearRegion()
public CloudRun.Builder clearRegion()Required. The region the Cloud Run service is deployed in.
string region = 3;
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
clearService()
public CloudRun.Builder clearService()Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1;
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
clone()
public CloudRun.Builder clone()| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
getDefaultInstanceForType()
public CloudRun getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudRun |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPath()
public String getPath()Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
getRegion()
public String getRegion()Required. The region the Cloud Run service is deployed in.
string region = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Required. The region the Cloud Run service is deployed in.
string region = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getService()
public String getService()Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The service. |
getServiceBytes()
public ByteString getServiceBytes()Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for service. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudRun other)
public CloudRun.Builder mergeFrom(CloudRun other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudRun |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudRun.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloudRun.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
setPath(String value)
public CloudRun.Builder setPath(String value)Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public CloudRun.Builder setPathBytes(ByteString value)Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
string path = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
setRegion(String value)
public CloudRun.Builder setRegion(String value)Required. The region the Cloud Run service is deployed in.
string region = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public CloudRun.Builder setRegionBytes(ByteString value)Required. The region the Cloud Run service is deployed in.
string region = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|
setService(String value)
public CloudRun.Builder setService(String value)Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe service to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
setServiceBytes(ByteString value)
public CloudRun.Builder setServiceBytes(ByteString value)Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
string service = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for service to set. |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudRun.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CloudRun.Builder |
|