public static final class AdaptiveMtFile.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder> implements AdaptiveMtFileOrBuilder
An AdaptiveMtFile.Protobuf type
google.cloud.translation.v3.AdaptiveMtFile| Modifier and Type | Method and Description |
|---|---|
AdaptiveMtFile.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AdaptiveMtFile |
build() |
AdaptiveMtFile |
buildPartial() |
AdaptiveMtFile.Builder |
clear() |
AdaptiveMtFile.Builder |
clearCreateTime()
Output only.
|
AdaptiveMtFile.Builder |
clearDisplayName()
The file's display name.
|
AdaptiveMtFile.Builder |
clearEntryCount()
The number of entries that the file contains.
|
AdaptiveMtFile.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AdaptiveMtFile.Builder |
clearName()
Required.
|
AdaptiveMtFile.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AdaptiveMtFile.Builder |
clearUpdateTime()
Output only.
|
AdaptiveMtFile.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
AdaptiveMtFile |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The file's display name.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The file's display name.
|
int |
getEntryCount()
The number of entries that the file contains.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AdaptiveMtFile.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
AdaptiveMtFile.Builder |
mergeFrom(AdaptiveMtFile other) |
AdaptiveMtFile.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AdaptiveMtFile.Builder |
mergeFrom(com.google.protobuf.Message other) |
AdaptiveMtFile.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AdaptiveMtFile.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
AdaptiveMtFile.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AdaptiveMtFile.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
AdaptiveMtFile.Builder |
setDisplayName(String value)
The file's display name.
|
AdaptiveMtFile.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The file's display name.
|
AdaptiveMtFile.Builder |
setEntryCount(int value)
The number of entries that the file contains.
|
AdaptiveMtFile.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AdaptiveMtFile.Builder |
setName(String value)
Required.
|
AdaptiveMtFile.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
AdaptiveMtFile.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AdaptiveMtFile.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AdaptiveMtFile.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AdaptiveMtFile.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AdaptiveMtFile build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AdaptiveMtFile buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AdaptiveMtFile.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder mergeFrom(AdaptiveMtFile other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public AdaptiveMtFile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AdaptiveMtFile.Builder>IOExceptionpublic String getName()
Required. The resource name of the file, in form of
`projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface AdaptiveMtFileOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the file, in form of
`projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface AdaptiveMtFileOrBuilderpublic AdaptiveMtFile.Builder setName(String value)
Required. The resource name of the file, in form of
`projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public AdaptiveMtFile.Builder clearName()
Required. The resource name of the file, in form of
`projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public AdaptiveMtFile.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the file, in form of
`projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public String getDisplayName()
The file's display name.
string display_name = 2;getDisplayName in interface AdaptiveMtFileOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The file's display name.
string display_name = 2;getDisplayNameBytes in interface AdaptiveMtFileOrBuilderpublic AdaptiveMtFile.Builder setDisplayName(String value)
The file's display name.
string display_name = 2;value - The displayName to set.public AdaptiveMtFile.Builder clearDisplayName()
The file's display name.
string display_name = 2;public AdaptiveMtFile.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The file's display name.
string display_name = 2;value - The bytes for displayName to set.public int getEntryCount()
The number of entries that the file contains.
int32 entry_count = 3;getEntryCount in interface AdaptiveMtFileOrBuilderpublic AdaptiveMtFile.Builder setEntryCount(int value)
The number of entries that the file contains.
int32 entry_count = 3;value - The entryCount to set.public AdaptiveMtFile.Builder clearEntryCount()
The number of entries that the file contains.
int32 entry_count = 3;public boolean hasCreateTime()
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface AdaptiveMtFileOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface AdaptiveMtFileOrBuilderpublic AdaptiveMtFile.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AdaptiveMtFile.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AdaptiveMtFile.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AdaptiveMtFile.Builder clearCreateTime()
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this file was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface AdaptiveMtFileOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface AdaptiveMtFileOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface AdaptiveMtFileOrBuilderpublic AdaptiveMtFile.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AdaptiveMtFile.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AdaptiveMtFile.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AdaptiveMtFile.Builder clearUpdateTime()
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this file was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface AdaptiveMtFileOrBuilderpublic final AdaptiveMtFile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>public final AdaptiveMtFile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveMtFile.Builder>Copyright © 2024 Google LLC. All rights reserved.