Package com.google.cloud.run.v2
Interface CreateServiceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateServiceRequest
,CreateServiceRequest.Builder
public interface CreateServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Service
getService()
Required.String
getServiceId()
Required.com.google.protobuf.ByteString
getServiceIdBytes()
Required.ServiceOrBuilder
getServiceOrBuilder()
Required.boolean
getValidateOnly()
Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.boolean
hasService()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The location and project in which this service should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. Only lowercase characters, digits, and hyphens.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasService
boolean hasService()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the service field is set.
-
getService
Service getService()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The service.
-
getServiceOrBuilder
ServiceOrBuilder getServiceOrBuilder()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
-
getServiceId
String getServiceId()
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The serviceId.
-
getServiceIdBytes
com.google.protobuf.ByteString getServiceIdBytes()
Required. The unique identifier for the Service. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for serviceId.
-
getValidateOnly
boolean getValidateOnly()
Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
bool validate_only = 4;
- Returns:
- The validateOnly.
-
-