Interface CreateServiceRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    boolean
    Required.

    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

    • getParent

      String getParent()
       Required. The resource name of the namespace this service will belong to.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the namespace this service will belong to.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getServiceId

      String getServiceId()
       Required. The Resource ID must be 1-63 characters long, and comply with
       <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      string service_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The serviceId.
    • getServiceIdBytes

      com.google.protobuf.ByteString getServiceIdBytes()
       Required. The Resource ID must be 1-63 characters long, and comply with
       <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      string service_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for serviceId.
    • hasService

      boolean hasService()
       Required. A service  with initial fields set.
       
      .google.cloud.servicedirectory.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the service field is set.
    • getService

      Service getService()
       Required. A service  with initial fields set.
       
      .google.cloud.servicedirectory.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The service.
    • getServiceOrBuilder

      ServiceOrBuilder getServiceOrBuilder()
       Required. A service  with initial fields set.
       
      .google.cloud.servicedirectory.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];