public static final class GetDatasetRequest.Builder extends GeneratedMessageV3.Builder<GetDatasetRequest.Builder> implements GetDatasetRequestOrBuilder
Request message for DatasetService.GetDataset.
Protobuf type google.cloud.aiplatform.v1.GetDatasetRequest
Methods
public GetDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetDatasetRequest build()
Returns
public GetDatasetRequest buildPartial()
Returns
public GetDatasetRequest.Builder clear()
Returns
Overrides
public GetDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public GetDatasetRequest.Builder clearName()
Required. The name of the Dataset resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public GetDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public GetDatasetRequest.Builder clearReadMask()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
public GetDatasetRequest.Builder clone()
Returns
Overrides
public GetDatasetRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The name of the Dataset resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the Dataset resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public FieldMask getReadMask()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
public FieldMask.Builder getReadMaskBuilder()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
public FieldMaskOrBuilder getReadMaskOrBuilder()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
public boolean hasReadMask()
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Returns
Type | Description |
boolean | Whether the readMask field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public GetDatasetRequest.Builder mergeFrom(GetDatasetRequest other)
Parameter
Returns
public GetDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public GetDatasetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public GetDatasetRequest.Builder mergeReadMask(FieldMask value)
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Parameter
Returns
public final GetDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public GetDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetDatasetRequest.Builder setName(String value)
Required. The name of the Dataset resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public GetDatasetRequest.Builder setNameBytes(ByteString value)
Required. The name of the Dataset resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public GetDatasetRequest.Builder setReadMask(FieldMask value)
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Parameter
Returns
public GetDatasetRequest.Builder setReadMask(FieldMask.Builder builderForValue)
Mask specifying which fields to read.
.google.protobuf.FieldMask read_mask = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public GetDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final GetDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides