Class GetServiceIdentityResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public GetServiceIdentityResponse 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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

        public GetServiceIdentityResponse.Builder setIdentity​(ServiceIdentity value)
         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

        public GetServiceIdentityResponse.Builder mergeIdentity​(ServiceIdentity value)
         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.
      • clearState

        public GetServiceIdentityResponse.Builder clearState()
         Service identity state.
         
        .google.api.serviceusage.v1beta1.GetServiceIdentityResponse.IdentityState state = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GetServiceIdentityResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceIdentityResponse.Builder>
      • mergeUnknownFields

        public final GetServiceIdentityResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetServiceIdentityResponse.Builder>