public static final class GoSettings.Builder extends GeneratedMessageV3.Builder<GoSettings.Builder> implements GoSettingsOrBuilder
Settings for Go client libraries.
Protobuf type google.api.GoSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GoSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GoSettings build()
buildPartial()
public GoSettings buildPartial()
clear()
public GoSettings.Builder clear()
Overrides
clearCommon()
public GoSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
clearField(Descriptors.FieldDescriptor field)
public GoSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GoSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GoSettings.Builder clone()
Overrides
getCommon()
public CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getCommonBuilder()
public CommonLanguageSettings.Builder getCommonBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getCommonOrBuilder()
public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getDefaultInstanceForType()
public GoSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasCommon()
public boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns |
---|
Type | Description |
boolean | Whether the common field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCommon(CommonLanguageSettings value)
public GoSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
mergeFrom(GoSettings other)
public GoSettings.Builder mergeFrom(GoSettings other)
public GoSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GoSettings.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GoSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCommon(CommonLanguageSettings value)
public GoSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
setCommon(CommonLanguageSettings.Builder builderForValue)
public GoSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public GoSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GoSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GoSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides