public static final class LocationsMetadata.Builder extends GeneratedMessageV3.Builder<LocationsMetadata.Builder> implements LocationsMetadataOrBuilder
Main metadata for the Locations API for STT V2. Currently this is just the
metadata about locales, models, and features
Protobuf type google.cloud.speech.v2.LocationsMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public LocationsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public LocationsMetadata build()
public LocationsMetadata buildPartial()
public LocationsMetadata.Builder clear()
Overrides
public LocationsMetadata.Builder clearAccessMetadata()
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public LocationsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public LocationsMetadata.Builder clearLanguages()
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public LocationsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public LocationsMetadata.Builder clone()
Overrides
public AccessMetadata getAccessMetadata()
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public AccessMetadata.Builder getAccessMetadataBuilder()
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public AccessMetadataOrBuilder getAccessMetadataOrBuilder()
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public LocationsMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public LanguageMetadata getLanguages()
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public LanguageMetadata.Builder getLanguagesBuilder()
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public LanguageMetadataOrBuilder getLanguagesOrBuilder()
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public boolean hasAccessMetadata()
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
Returns |
Type |
Description |
boolean |
Whether the accessMetadata field is set.
|
public boolean hasLanguages()
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
Returns |
Type |
Description |
boolean |
Whether the languages field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public LocationsMetadata.Builder mergeAccessMetadata(AccessMetadata value)
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public LocationsMetadata.Builder mergeFrom(LocationsMetadata other)
public LocationsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public LocationsMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public LocationsMetadata.Builder mergeLanguages(LanguageMetadata value)
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public final LocationsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public LocationsMetadata.Builder setAccessMetadata(AccessMetadata value)
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public LocationsMetadata.Builder setAccessMetadata(AccessMetadata.Builder builderForValue)
Information about access metadata for the region and given project.
.google.cloud.speech.v2.AccessMetadata access_metadata = 2;
public LocationsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public LocationsMetadata.Builder setLanguages(LanguageMetadata value)
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public LocationsMetadata.Builder setLanguages(LanguageMetadata.Builder builderForValue)
Information about available locales, models, and features represented in
the hierarchical structure of locales -> models -> features
.google.cloud.speech.v2.LanguageMetadata languages = 1;
public LocationsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final LocationsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides