public static final class GapicMetadata.ServiceAsClient.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder> implements GapicMetadata.ServiceAsClientOrBuilder
Information about a specific client implementing a proto-defined service.Protobuf type
google.gapic.metadata.GapicMetadata.ServiceAsClient| Modifier and Type | Method and Description |
|---|---|
GapicMetadata.ServiceAsClient.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GapicMetadata.ServiceAsClient |
build() |
GapicMetadata.ServiceAsClient |
buildPartial() |
GapicMetadata.ServiceAsClient.Builder |
clear() |
GapicMetadata.ServiceAsClient.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GapicMetadata.ServiceAsClient.Builder |
clearLibraryClient()
The name of the library client formatted as it appears in the source code
|
GapicMetadata.ServiceAsClient.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GapicMetadata.ServiceAsClient.Builder |
clearRpcs() |
GapicMetadata.ServiceAsClient.Builder |
clone() |
boolean |
containsRpcs(String key)
A mapping from each proto-defined RPC name to the the list of
methods in library_client that implement it.
|
GapicMetadata.ServiceAsClient |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLibraryClient()
The name of the library client formatted as it appears in the source code
|
com.google.protobuf.ByteString |
getLibraryClientBytes()
The name of the library client formatted as it appears in the source code
|
Map<String,GapicMetadata.MethodList> |
getMutableRpcs()
Deprecated.
|
Map<String,GapicMetadata.MethodList> |
getRpcs()
Deprecated.
|
int |
getRpcsCount()
A mapping from each proto-defined RPC name to the the list of
methods in library_client that implement it.
|
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.
|
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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
GapicMetadata.ServiceAsClient.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GapicMetadata.ServiceAsClient.Builder |
mergeFrom(GapicMetadata.ServiceAsClient other) |
GapicMetadata.ServiceAsClient.Builder |
mergeFrom(com.google.protobuf.Message other) |
GapicMetadata.ServiceAsClient.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
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.
|
GapicMetadata.ServiceAsClient.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GapicMetadata.ServiceAsClient.Builder |
setLibraryClient(String value)
The name of the library client formatted as it appears in the source code
|
GapicMetadata.ServiceAsClient.Builder |
setLibraryClientBytes(com.google.protobuf.ByteString value)
The name of the library client formatted as it appears in the source code
|
GapicMetadata.ServiceAsClient.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GapicMetadata.ServiceAsClient.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GapicMetadata.ServiceAsClient build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GapicMetadata.ServiceAsClient buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GapicMetadata.ServiceAsClient.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder mergeFrom(GapicMetadata.ServiceAsClient other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public GapicMetadata.ServiceAsClient.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GapicMetadata.ServiceAsClient.Builder>IOExceptionpublic String getLibraryClient()
The name of the library client formatted as it appears in the source code
string library_client = 1;getLibraryClient in interface GapicMetadata.ServiceAsClientOrBuilderpublic com.google.protobuf.ByteString getLibraryClientBytes()
The name of the library client formatted as it appears in the source code
string library_client = 1;getLibraryClientBytes in interface GapicMetadata.ServiceAsClientOrBuilderpublic GapicMetadata.ServiceAsClient.Builder setLibraryClient(String value)
The name of the library client formatted as it appears in the source code
string library_client = 1;value - The libraryClient to set.public GapicMetadata.ServiceAsClient.Builder clearLibraryClient()
The name of the library client formatted as it appears in the source code
string library_client = 1;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;value - The bytes for libraryClient to set.public int getRpcsCount()
GapicMetadata.ServiceAsClientOrBuilderA 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;getRpcsCount in interface GapicMetadata.ServiceAsClientOrBuilderpublic 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;containsRpcs in interface GapicMetadata.ServiceAsClientOrBuilder@Deprecated public Map<String,GapicMetadata.MethodList> getRpcs()
getRpcsMap() instead.getRpcs in interface GapicMetadata.ServiceAsClientOrBuilderpublic 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;getRpcsMap in interface GapicMetadata.ServiceAsClientOrBuilderpublic 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;getRpcsOrDefault in interface GapicMetadata.ServiceAsClientOrBuilderpublic 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;getRpcsOrThrow in interface GapicMetadata.ServiceAsClientOrBuilderpublic GapicMetadata.ServiceAsClient.Builder clearRpcs()
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;@Deprecated public Map<String,GapicMetadata.MethodList> getMutableRpcs()
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;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;public final GapicMetadata.ServiceAsClient.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>public final GapicMetadata.ServiceAsClient.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GapicMetadata.ServiceAsClient.Builder>Copyright © 2022 Google LLC. All rights reserved.