Class DeleteUnitKindRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeleteUnitKindRequest.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.DeleteUnitKindRequest.Builder
All Implemented Interfaces:
DeleteUnitKindRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeleteUnitKindRequest

public static final class DeleteUnitKindRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeleteUnitKindRequest.Builder> implements DeleteUnitKindRequestOrBuilder
 The request structure for the DeleteUnitKind method.
 
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.DeleteUnitKindRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeleteUnitKindRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DeleteUnitKindRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DeleteUnitKindRequest.Builder>
    • getDefaultInstanceForType

      public DeleteUnitKindRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DeleteUnitKindRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DeleteUnitKindRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DeleteUnitKindRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteUnitKindRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeleteUnitKindRequest.Builder>
    • mergeFrom

      public DeleteUnitKindRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeleteUnitKindRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Required. The resource name of the resource within a service.
       
      string name = 10001 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the resource within a service.
       
      string name = 10001 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DeleteUnitKindRequest.Builder setName(String value)
       Required. The resource name of the resource within a service.
       
      string name = 10001 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DeleteUnitKindRequest.Builder clearName()
       Required. The resource name of the resource within a service.
       
      string name = 10001 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public DeleteUnitKindRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the resource within a service.
       
      string name = 10001 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       The etag known to the client for the expected state of the unit kind. This
       is used with state-changing methods to prevent accidental overwrites when
       multiple user agents might be acting in parallel on the same resource.
      
       An etag wildcard provide optimistic concurrency based on the expected
       existence of the unit kind. The Any wildcard (`*`) requires that the
       resource must already exists, and the Not Any wildcard (`!*`) requires that
       it must not.
       
      string etag = 10202;
      Specified by:
      getEtag in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       The etag known to the client for the expected state of the unit kind. This
       is used with state-changing methods to prevent accidental overwrites when
       multiple user agents might be acting in parallel on the same resource.
      
       An etag wildcard provide optimistic concurrency based on the expected
       existence of the unit kind. The Any wildcard (`*`) requires that the
       resource must already exists, and the Not Any wildcard (`!*`) requires that
       it must not.
       
      string etag = 10202;
      Specified by:
      getEtagBytes in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public DeleteUnitKindRequest.Builder setEtag(String value)
       The etag known to the client for the expected state of the unit kind. This
       is used with state-changing methods to prevent accidental overwrites when
       multiple user agents might be acting in parallel on the same resource.
      
       An etag wildcard provide optimistic concurrency based on the expected
       existence of the unit kind. The Any wildcard (`*`) requires that the
       resource must already exists, and the Not Any wildcard (`!*`) requires that
       it must not.
       
      string etag = 10202;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public DeleteUnitKindRequest.Builder clearEtag()
       The etag known to the client for the expected state of the unit kind. This
       is used with state-changing methods to prevent accidental overwrites when
       multiple user agents might be acting in parallel on the same resource.
      
       An etag wildcard provide optimistic concurrency based on the expected
       existence of the unit kind. The Any wildcard (`*`) requires that the
       resource must already exists, and the Not Any wildcard (`!*`) requires that
       it must not.
       
      string etag = 10202;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public DeleteUnitKindRequest.Builder setEtagBytes(com.google.protobuf.ByteString value)
       The etag known to the client for the expected state of the unit kind. This
       is used with state-changing methods to prevent accidental overwrites when
       multiple user agents might be acting in parallel on the same resource.
      
       An etag wildcard provide optimistic concurrency based on the expected
       existence of the unit kind. The Any wildcard (`*`) requires that the
       resource must already exists, and the Not Any wildcard (`!*`) requires that
       it must not.
       
      string etag = 10202;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getValidateOnly

      public boolean getValidateOnly()
       If "validate_only" is set to true, the service will try to validate
       that this request would succeed, but will not actually make changes.
       
      bool validate_only = 10501;
      Specified by:
      getValidateOnly in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public DeleteUnitKindRequest.Builder setValidateOnly(boolean value)
       If "validate_only" is set to true, the service will try to validate
       that this request would succeed, but will not actually make changes.
       
      bool validate_only = 10501;
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public DeleteUnitKindRequest.Builder clearValidateOnly()
       If "validate_only" is set to true, the service will try to validate
       that this request would succeed, but will not actually make changes.
       
      bool validate_only = 10501;
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       An optional request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server will know to ignore
       the request if it has already been completed. The server will guarantee
       that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 10502;
      Specified by:
      getRequestId in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       An optional request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server will know to ignore
       the request if it has already been completed. The server will guarantee
       that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 10502;
      Specified by:
      getRequestIdBytes in interface DeleteUnitKindRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public DeleteUnitKindRequest.Builder setRequestId(String value)
       An optional request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server will know to ignore
       the request if it has already been completed. The server will guarantee
       that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 10502;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public DeleteUnitKindRequest.Builder clearRequestId()
       An optional request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server will know to ignore
       the request if it has already been completed. The server will guarantee
       that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 10502;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public DeleteUnitKindRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       An optional request ID to identify requests. Specify a unique request ID
       so that if you must retry your request, the server will know to ignore
       the request if it has already been completed. The server will guarantee
       that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 10502;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.