- 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 CloudRun.Builder extends GeneratedMessageV3.Builder<CloudRun.Builder> implements CloudRunOrBuilder
Represents a Cloud Run destination.
Protobuf type google.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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()
Required. The region the Cloud Run service is deployed in.
string region = 3 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The 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 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The 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 |