Interface EnableServiceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EnableServiceRequest, EnableServiceRequest.Builder

@Generated public interface EnableServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the consumer and service to enable the service on.
    com.google.protobuf.ByteString
    Name of the consumer and service to enable the service on.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Name of the consumer and service to enable the service on.
      
       The `EnableService` and `DisableService` methods currently only support
       projects.
      
       Enabling a service requires that the service is public or is shared with
       the user enabling the service.
      
       An example name would be:
       `projects/123/services/serviceusage.googleapis.com`
       where `123` is the project number (not project ID).
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the consumer and service to enable the service on.
      
       The `EnableService` and `DisableService` methods currently only support
       projects.
      
       Enabling a service requires that the service is public or is shared with
       the user enabling the service.
      
       An example name would be:
       `projects/123/services/serviceusage.googleapis.com`
       where `123` is the project number (not project ID).
       
      string name = 1;
      Returns:
      The bytes for name.