public final class CreateAdaptiveMtDatasetRequest extends GeneratedMessageV3 implements CreateAdaptiveMtDatasetRequestOrBuilder
Request message for creating an AdaptiveMtDataset.
Protobuf type google.cloud.translation.v3.CreateAdaptiveMtDatasetRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADAPTIVE_MT_DATASET_FIELD_NUMBER
public static final int ADAPTIVE_MT_DATASET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CreateAdaptiveMtDatasetRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateAdaptiveMtDatasetRequest.Builder newBuilder()
newBuilder(CreateAdaptiveMtDatasetRequest prototype)
public static CreateAdaptiveMtDatasetRequest.Builder newBuilder(CreateAdaptiveMtDatasetRequest prototype)
public static CreateAdaptiveMtDatasetRequest parseDelimitedFrom(InputStream input)
public static CreateAdaptiveMtDatasetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateAdaptiveMtDatasetRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateAdaptiveMtDatasetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateAdaptiveMtDatasetRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateAdaptiveMtDatasetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateAdaptiveMtDatasetRequest parseFrom(CodedInputStream input)
public static CreateAdaptiveMtDatasetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAdaptiveMtDatasetRequest parseFrom(InputStream input)
public static CreateAdaptiveMtDatasetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateAdaptiveMtDatasetRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateAdaptiveMtDatasetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateAdaptiveMtDatasetRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAdaptiveMtDataset()
public AdaptiveMtDataset getAdaptiveMtDataset()
Required. The AdaptiveMtDataset to be created.
.google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getAdaptiveMtDatasetOrBuilder()
public AdaptiveMtDatasetOrBuilder getAdaptiveMtDatasetOrBuilder()
Required. The AdaptiveMtDataset to be created.
.google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateAdaptiveMtDatasetRequest getDefaultInstanceForType()
getParent()
public String getParent()
Required. Name of the parent project. In form of
projects/{project-number-or-id}/locations/{location-id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Name of the parent project. In form of
projects/{project-number-or-id}/locations/{location-id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<CreateAdaptiveMtDatasetRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasAdaptiveMtDataset()
public boolean hasAdaptiveMtDataset()
Required. The AdaptiveMtDataset to be created.
.google.cloud.translation.v3.AdaptiveMtDataset adaptive_mt_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the adaptiveMtDataset field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateAdaptiveMtDatasetRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateAdaptiveMtDatasetRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateAdaptiveMtDatasetRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides