public static final class FileData.Builder extends GeneratedMessageV3.Builder<FileData.Builder> implements FileDataOrBuilder
URI based data.
Protobuf type google.cloud.aiplatform.v1.FileData
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 FileData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FileData buildPartial()
public FileData.Builder clear()
Overrides
public FileData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public FileData.Builder clearFileUri()
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
public FileData.Builder clearMimeType()
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
public FileData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public FileData.Builder clone()
Overrides
public FileData getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getFileUri()
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The fileUri.
|
public ByteString getFileUriBytes()
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for fileUri.
|
public String getMimeType()
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The mimeType.
|
public ByteString getMimeTypeBytes()
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for mimeType.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FileData.Builder mergeFrom(FileData other)
public FileData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public FileData.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final FileData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public FileData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public FileData.Builder setFileUri(String value)
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The fileUri to set.
|
public FileData.Builder setFileUriBytes(ByteString value)
Required. URI.
string file_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for fileUri to set.
|
public FileData.Builder setMimeType(String value)
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The mimeType to set.
|
public FileData.Builder setMimeTypeBytes(ByteString value)
Required. The IANA standard MIME type of the source data.
string mime_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for mimeType to set.
|
public FileData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final FileData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides