public static final class GoSettings.Builder extends GeneratedMessageV3.Builder<GoSettings.Builder> implements GoSettingsOrBuilder
Settings for Go client libraries.
Protobuf type google.api.GoSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GoSettings.BuilderImplements
GoSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GoSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GoSettings.Builder |
build()
public GoSettings build()
Type | Description |
GoSettings |
buildPartial()
public GoSettings buildPartial()
Type | Description |
GoSettings |
clear()
public GoSettings.Builder clear()
Type | Description |
GoSettings.Builder |
clearCommon()
public GoSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Type | Description |
GoSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public GoSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GoSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GoSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GoSettings.Builder |
clone()
public GoSettings.Builder clone()
Type | Description |
GoSettings.Builder |
getCommon()
public CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Type | Description |
CommonLanguageSettings | The common. |
getCommonBuilder()
public CommonLanguageSettings.Builder getCommonBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Type | Description |
CommonLanguageSettings.Builder |
getCommonOrBuilder()
public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Type | Description |
CommonLanguageSettingsOrBuilder |
getDefaultInstanceForType()
public GoSettings getDefaultInstanceForType()
Type | Description |
GoSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
hasCommon()
public boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Type | Description |
boolean | Whether the common field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCommon(CommonLanguageSettings value)
public GoSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Name | Description |
value | CommonLanguageSettings |
Type | Description |
GoSettings.Builder |
mergeFrom(GoSettings other)
public GoSettings.Builder mergeFrom(GoSettings other)
Name | Description |
other | GoSettings |
Type | Description |
GoSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GoSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GoSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GoSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GoSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GoSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GoSettings.Builder |
setCommon(CommonLanguageSettings value)
public GoSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Name | Description |
value | CommonLanguageSettings |
Type | Description |
GoSettings.Builder |
setCommon(CommonLanguageSettings.Builder builderForValue)
public GoSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Name | Description |
builderForValue | CommonLanguageSettings.Builder |
Type | Description |
GoSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GoSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GoSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GoSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GoSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GoSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GoSettings.Builder |