Class UpdateDataSourceRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateDataSourceRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
ai.pipestream.connector.intake.v1.UpdateDataSourceRequest.Builder
- All Implemented Interfaces:
UpdateDataSourceRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
UpdateDataSourceRequest
public static final class UpdateDataSourceRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
implements UpdateDataSourceRequestOrBuilder
Request to update datasource configuration.Protobuf type
ai.pipestream.connector.intake.v1.UpdateDataSourceRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()DataSource identifier to update.Updated drive name (optional).Updated max file size (optional).Updated datasource name (optional).Updated rate limit (optional).booleancontainsMetadata(String key) Updated metadata (optional, replaces existing).DataSource identifier to update.com.google.protobuf.ByteStringDataSource identifier to update.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorUpdated drive name (optional).com.google.protobuf.ByteStringUpdated drive name (optional).longUpdated max file size (optional).Deprecated.intUpdated metadata (optional, replaces existing).Updated metadata (optional, replaces existing).getMetadataOrDefault(String key, String defaultValue) Updated metadata (optional, replaces existing).getMetadataOrThrow(String key) Updated metadata (optional, replaces existing).Deprecated.getName()Updated datasource name (optional).com.google.protobuf.ByteStringUpdated datasource name (optional).longUpdated rate limit (optional).protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(UpdateDataSourceRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllMetadata(Map<String, String> values) Updated metadata (optional, replaces existing).putMetadata(String key, String value) Updated metadata (optional, replaces existing).removeMetadata(String key) Updated metadata (optional, replaces existing).setDatasourceId(String value) DataSource identifier to update.setDatasourceIdBytes(com.google.protobuf.ByteString value) DataSource identifier to update.setDriveName(String value) Updated drive name (optional).setDriveNameBytes(com.google.protobuf.ByteString value) Updated drive name (optional).setMaxFileSize(long value) Updated max file size (optional).Updated datasource name (optional).setNameBytes(com.google.protobuf.ByteString value) Updated datasource name (optional).setRateLimitPerMinute(long value) Updated rate limit (optional).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateDataSourceRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
-
mergeFrom
public UpdateDataSourceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateDataSourceRequest.Builder>- Throws:
IOException
-
getDatasourceId
DataSource identifier to update.
string datasource_id = 1 [json_name = "datasourceId"];- Specified by:
getDatasourceIdin interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The datasourceId.
-
getDatasourceIdBytes
public com.google.protobuf.ByteString getDatasourceIdBytes()DataSource identifier to update.
string datasource_id = 1 [json_name = "datasourceId"];- Specified by:
getDatasourceIdBytesin interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The bytes for datasourceId.
-
setDatasourceId
DataSource identifier to update.
string datasource_id = 1 [json_name = "datasourceId"];- Parameters:
value- The datasourceId to set.- Returns:
- This builder for chaining.
-
clearDatasourceId
DataSource identifier to update.
string datasource_id = 1 [json_name = "datasourceId"];- Returns:
- This builder for chaining.
-
setDatasourceIdBytes
DataSource identifier to update.
string datasource_id = 1 [json_name = "datasourceId"];- Parameters:
value- The bytes for datasourceId to set.- Returns:
- This builder for chaining.
-
getName
Updated datasource name (optional).
string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Updated datasource name (optional).
string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Updated datasource name (optional).
string name = 2 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Updated datasource name (optional).
string name = 2 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Updated datasource name (optional).
string name = 2 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDriveName
Updated drive name (optional).
string drive_name = 3 [json_name = "driveName"];- Specified by:
getDriveNamein interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The driveName.
-
getDriveNameBytes
public com.google.protobuf.ByteString getDriveNameBytes()Updated drive name (optional).
string drive_name = 3 [json_name = "driveName"];- Specified by:
getDriveNameBytesin interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The bytes for driveName.
-
setDriveName
Updated drive name (optional).
string drive_name = 3 [json_name = "driveName"];- Parameters:
value- The driveName to set.- Returns:
- This builder for chaining.
-
clearDriveName
Updated drive name (optional).
string drive_name = 3 [json_name = "driveName"];- Returns:
- This builder for chaining.
-
setDriveNameBytes
Updated drive name (optional).
string drive_name = 3 [json_name = "driveName"];- Parameters:
value- The bytes for driveName to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:UpdateDataSourceRequestOrBuilderUpdated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceUpdateDataSourceRequestOrBuilder
-
containsMetadata
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceUpdateDataSourceRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceUpdateDataSourceRequestOrBuilder
-
getMetadataMap
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceUpdateDataSourceRequestOrBuilder
-
getMetadataOrDefault
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceUpdateDataSourceRequestOrBuilder
-
getMetadataOrThrow
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceUpdateDataSourceRequestOrBuilder
-
clearMetadata
-
removeMetadata
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"]; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"]; -
putAllMetadata
Updated metadata (optional, replaces existing).
map<string, string> metadata = 4 [json_name = "metadata"]; -
getMaxFileSize
public long getMaxFileSize()Updated max file size (optional).
int64 max_file_size = 5 [json_name = "maxFileSize"];- Specified by:
getMaxFileSizein interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The maxFileSize.
-
setMaxFileSize
Updated max file size (optional).
int64 max_file_size = 5 [json_name = "maxFileSize"];- Parameters:
value- The maxFileSize to set.- Returns:
- This builder for chaining.
-
clearMaxFileSize
Updated max file size (optional).
int64 max_file_size = 5 [json_name = "maxFileSize"];- Returns:
- This builder for chaining.
-
getRateLimitPerMinute
public long getRateLimitPerMinute()Updated rate limit (optional).
int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];- Specified by:
getRateLimitPerMinutein interfaceUpdateDataSourceRequestOrBuilder- Returns:
- The rateLimitPerMinute.
-
setRateLimitPerMinute
Updated rate limit (optional).
int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];- Parameters:
value- The rateLimitPerMinute to set.- Returns:
- This builder for chaining.
-
clearRateLimitPerMinute
Updated rate limit (optional).
int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];- Returns:
- This builder for chaining.
-