public final class UpdateDatasetRequest extends GeneratedMessageV3 implements UpdateDatasetRequestOrBuilder
Request message for AutoMl.UpdateDataset
Protobuf type google.cloud.automl.v1beta1.UpdateDatasetRequest
Static Fields
DATASET_FIELD_NUMBER
public static final int DATASET_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateDatasetRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateDatasetRequest.Builder newBuilder()
Returns
newBuilder(UpdateDatasetRequest prototype)
public static UpdateDatasetRequest.Builder newBuilder(UpdateDatasetRequest prototype)
Parameter
Returns
public static UpdateDatasetRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateDatasetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateDatasetRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatasetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateDatasetRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatasetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatasetRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateDatasetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateDatasetRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateDatasetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateDatasetRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatasetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateDatasetRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDataset()
public Dataset getDataset()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetOrBuilder()
public DatasetOrBuilder getDatasetOrBuilder()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateDatasetRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpdateDatasetRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasDataset()
public boolean hasDataset()
Required. The dataset which replaces the resource on the server.
.google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dataset field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
The update mask applies to the resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateDatasetRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateDatasetRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateDatasetRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions