Package com.google.cloud.run.v2
Interface UpdateServiceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateServiceRequest,UpdateServiceRequest.Builder
public interface UpdateServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAllowMissing()If set to true, and if the Service does not exist, it will create a new one.ServicegetService()Required.ServiceOrBuildergetServiceOrBuilder()Required.booleangetValidateOnly()Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.booleanhasService()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasService
boolean hasService()
Required. The Service to be updated.
.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the service field is set.
-
getService
Service getService()
Required. The Service to be updated.
.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The service.
-
getServiceOrBuilder
ServiceOrBuilder getServiceOrBuilder()
Required. The Service to be updated.
.google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED];
-
getValidateOnly
boolean getValidateOnly()
Indicates that the request should be validated and default values populated, without persisting the request or updating any resources.
bool validate_only = 3;- Returns:
- The validateOnly.
-
getAllowMissing
boolean getAllowMissing()
If set to true, and if the Service does not exist, it will create a new one. The caller must have 'run.services.create' permissions if this is set to true and the Service does not exist.
bool allow_missing = 4;- Returns:
- The allowMissing.
-
-