Class GapicMetadata.ServiceAsClient.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

        public GapicMetadata.ServiceAsClient.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<GapicMetadata.ServiceAsClient.Builder>
        Throws:
        IOException
      • getLibraryClientBytes

        public com.google.protobuf.ByteString getLibraryClientBytes()
         The name of the library client formatted as it appears in the source code
         
        string library_client = 1;
        Specified by:
        getLibraryClientBytes in interface GapicMetadata.ServiceAsClientOrBuilder
        Returns:
        The bytes for libraryClient.
      • setLibraryClient

        public GapicMetadata.ServiceAsClient.Builder setLibraryClient​(String value)
         The name of the library client formatted as it appears in the source code
         
        string library_client = 1;
        Parameters:
        value - The libraryClient to set.
        Returns:
        This builder for chaining.
      • clearLibraryClient

        public GapicMetadata.ServiceAsClient.Builder clearLibraryClient()
         The name of the library client formatted as it appears in the source code
         
        string library_client = 1;
        Returns:
        This builder for chaining.
      • setLibraryClientBytes

        public GapicMetadata.ServiceAsClient.Builder setLibraryClientBytes​(com.google.protobuf.ByteString value)
         The name of the library client formatted as it appears in the source code
         
        string library_client = 1;
        Parameters:
        value - The bytes for libraryClient to set.
        Returns:
        This builder for chaining.
      • getRpcsCount

        public int getRpcsCount()
        Description copied from interface: GapicMetadata.ServiceAsClientOrBuilder
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
        Specified by:
        getRpcsCount in interface GapicMetadata.ServiceAsClientOrBuilder
      • containsRpcs

        public boolean containsRpcs​(String key)
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
        Specified by:
        containsRpcs in interface GapicMetadata.ServiceAsClientOrBuilder
      • getRpcsMap

        public Map<String,​GapicMetadata.MethodList> getRpcsMap()
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
        Specified by:
        getRpcsMap in interface GapicMetadata.ServiceAsClientOrBuilder
      • getRpcsOrDefault

        public GapicMetadata.MethodList getRpcsOrDefault​(String key,
                                                         GapicMetadata.MethodList defaultValue)
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
        Specified by:
        getRpcsOrDefault in interface GapicMetadata.ServiceAsClientOrBuilder
      • getRpcsOrThrow

        public GapicMetadata.MethodList getRpcsOrThrow​(String key)
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
        Specified by:
        getRpcsOrThrow in interface GapicMetadata.ServiceAsClientOrBuilder
      • removeRpcs

        public GapicMetadata.ServiceAsClient.Builder removeRpcs​(String key)
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
      • putRpcs

        public GapicMetadata.ServiceAsClient.Builder putRpcs​(String key,
                                                             GapicMetadata.MethodList value)
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;
      • putAllRpcs

        public GapicMetadata.ServiceAsClient.Builder putAllRpcs​(Map<String,​GapicMetadata.MethodList> values)
         A mapping from each proto-defined RPC name to the the list of
         methods in library_client that implement it. There can be more
         than one library_client method for each RPC. RPCs with no
         library_client methods need not be included.
         The key name is the name of the RPC as defined and formated in
         the proto file.
         
        map<string, .google.gapic.metadata.GapicMetadata.MethodList> rpcs = 2;