Class GetServiceIdentityResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetServiceIdentityResponse.Builder>
com.google.api.serviceusage.v1beta1.GetServiceIdentityResponse.Builder
All Implemented Interfaces:
GetServiceIdentityResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetServiceIdentityResponse

public static final class GetServiceIdentityResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetServiceIdentityResponse.Builder> implements GetServiceIdentityResponseOrBuilder
 Response message for getting service identity.
 
Protobuf type google.api.serviceusage.v1beta1.GetServiceIdentityResponse
  • 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<GetServiceIdentityResponse.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<GetServiceIdentityResponse.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<GetServiceIdentityResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public GetServiceIdentityResponse.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<GetServiceIdentityResponse.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<GetServiceIdentityResponse.Builder>
    • mergeFrom

      public GetServiceIdentityResponse.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<GetServiceIdentityResponse.Builder>
      Throws:
      IOException
    • hasIdentity

      public boolean hasIdentity()
       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
      Specified by:
      hasIdentity in interface GetServiceIdentityResponseOrBuilder
      Returns:
      Whether the identity field is set.
    • getIdentity

      public ServiceIdentity getIdentity()
       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
      Specified by:
      getIdentity in interface GetServiceIdentityResponseOrBuilder
      Returns:
      The identity.
    • setIdentity

       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
    • setIdentity

      public GetServiceIdentityResponse.Builder setIdentity(ServiceIdentity.Builder builderForValue)
       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
    • mergeIdentity

       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
    • clearIdentity

      public GetServiceIdentityResponse.Builder clearIdentity()
       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
    • getIdentityBuilder

      public ServiceIdentity.Builder getIdentityBuilder()
       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
    • getIdentityOrBuilder

      public ServiceIdentityOrBuilder getIdentityOrBuilder()
       Service identity that service producer can use to access consumer
       resources. If exists is true, it contains email and unique_id. If exists is
       false, it contains pre-constructed email and empty unique_id.
       
      .google.api.serviceusage.v1beta1.ServiceIdentity identity = 1;
      Specified by:
      getIdentityOrBuilder in interface GetServiceIdentityResponseOrBuilder
    • getStateValue

      public int getStateValue()
       Service identity state.
       
      .google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
      Specified by:
      getStateValue in interface GetServiceIdentityResponseOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public GetServiceIdentityResponse.Builder setStateValue(int value)
       Service identity state.
       
      .google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

       Service identity state.
       
      .google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
      Specified by:
      getState in interface GetServiceIdentityResponseOrBuilder
      Returns:
      The state.
    • setState

       Service identity state.
       
      .google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       Service identity state.
       
      .google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
      Returns:
      This builder for chaining.