Class AnalyzerDefinition.DebugOptions.Builder (0.10.0)

public static final class AnalyzerDefinition.DebugOptions.Builder extends GeneratedMessageV3.Builder<AnalyzerDefinition.DebugOptions.Builder> implements AnalyzerDefinition.DebugOptionsOrBuilder

Options available for debugging purposes only.

Protobuf type google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzerDefinition.DebugOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

build()

public AnalyzerDefinition.DebugOptions build()
Returns
Type Description
AnalyzerDefinition.DebugOptions

buildPartial()

public AnalyzerDefinition.DebugOptions buildPartial()
Returns
Type Description
AnalyzerDefinition.DebugOptions

clear()

public AnalyzerDefinition.DebugOptions.Builder clear()
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

clearEnvironmentVariables()

public AnalyzerDefinition.DebugOptions.Builder clearEnvironmentVariables()
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzerDefinition.DebugOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzerDefinition.DebugOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

clone()

public AnalyzerDefinition.DebugOptions.Builder clone()
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

containsEnvironmentVariables(String key)

public boolean containsEnvironmentVariables(String key)

Environment variables.

map<string, string> environment_variables = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public AnalyzerDefinition.DebugOptions getDefaultInstanceForType()
Returns
Type Description
AnalyzerDefinition.DebugOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnvironmentVariables() (deprecated)

public Map<String,String> getEnvironmentVariables()
Returns
Type Description
Map<String,String>

getEnvironmentVariablesCount()

public int getEnvironmentVariablesCount()

Environment variables.

map<string, string> environment_variables = 1;

Returns
Type Description
int

getEnvironmentVariablesMap()

public Map<String,String> getEnvironmentVariablesMap()

Environment variables.

map<string, string> environment_variables = 1;

Returns
Type Description
Map<String,String>

getEnvironmentVariablesOrDefault(String key, String defaultValue)

public String getEnvironmentVariablesOrDefault(String key, String defaultValue)

Environment variables.

map<string, string> environment_variables = 1;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvironmentVariablesOrThrow(String key)

public String getEnvironmentVariablesOrThrow(String key)

Environment variables.

map<string, string> environment_variables = 1;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableEnvironmentVariables() (deprecated)

public Map<String,String> getMutableEnvironmentVariables()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzerDefinition.DebugOptions other)

public AnalyzerDefinition.DebugOptions.Builder mergeFrom(AnalyzerDefinition.DebugOptions other)
Parameter
Name Description
other AnalyzerDefinition.DebugOptions
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzerDefinition.DebugOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzerDefinition.DebugOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerDefinition.DebugOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

putAllEnvironmentVariables(Map<String,String> values)

public AnalyzerDefinition.DebugOptions.Builder putAllEnvironmentVariables(Map<String,String> values)

Environment variables.

map<string, string> environment_variables = 1;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder

putEnvironmentVariables(String key, String value)

public AnalyzerDefinition.DebugOptions.Builder putEnvironmentVariables(String key, String value)

Environment variables.

map<string, string> environment_variables = 1;

Parameters
Name Description
key String
value String
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder

removeEnvironmentVariables(String key)

public AnalyzerDefinition.DebugOptions.Builder removeEnvironmentVariables(String key)

Environment variables.

map<string, string> environment_variables = 1;

Parameter
Name Description
key String
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzerDefinition.DebugOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzerDefinition.DebugOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzerDefinition.DebugOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzerDefinition.DebugOptions.Builder
Overrides