Class AccessMetadata.Builder (4.48.0)

public static final class AccessMetadata.Builder extends GeneratedMessageV3.Builder<AccessMetadata.Builder> implements AccessMetadataOrBuilder

The access metadata for a particular region. This can be applied if the org policy for the given project disallows a particular region.

Protobuf type google.cloud.speech.v2.AccessMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessMetadata build()
Returns
Type Description
AccessMetadata

buildPartial()

public AccessMetadata buildPartial()
Returns
Type Description
AccessMetadata

clear()

public AccessMetadata.Builder clear()
Returns
Type Description
AccessMetadata.Builder
Overrides

clearConstraintType()

public AccessMetadata.Builder clearConstraintType()

Describes the different types of constraints that are applied.

.google.cloud.speech.v2.AccessMetadata.ConstraintType constraint_type = 1;

Returns
Type Description
AccessMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AccessMetadata.Builder clone()
Returns
Type Description
AccessMetadata.Builder
Overrides

getConstraintType()

public AccessMetadata.ConstraintType getConstraintType()

Describes the different types of constraints that are applied.

.google.cloud.speech.v2.AccessMetadata.ConstraintType constraint_type = 1;

Returns
Type Description
AccessMetadata.ConstraintType

The constraintType.

getConstraintTypeValue()

public int getConstraintTypeValue()

Describes the different types of constraints that are applied.

.google.cloud.speech.v2.AccessMetadata.ConstraintType constraint_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for constraintType.

getDefaultInstanceForType()

public AccessMetadata getDefaultInstanceForType()
Returns
Type Description
AccessMetadata

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConstraintType(AccessMetadata.ConstraintType value)

public AccessMetadata.Builder setConstraintType(AccessMetadata.ConstraintType value)

Describes the different types of constraints that are applied.

.google.cloud.speech.v2.AccessMetadata.ConstraintType constraint_type = 1;

Parameter
Name Description
value AccessMetadata.ConstraintType

The constraintType to set.

Returns
Type Description
AccessMetadata.Builder

This builder for chaining.

setConstraintTypeValue(int value)

public AccessMetadata.Builder setConstraintTypeValue(int value)

Describes the different types of constraints that are applied.

.google.cloud.speech.v2.AccessMetadata.ConstraintType constraint_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for constraintType to set.

Returns
Type Description
AccessMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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