Send feedback
Class IngestionDataSourceSettings.CloudStorage.TextFormat.Builder (1.135.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.135.0 keyboard_arrow_down
public static final class IngestionDataSourceSettings . CloudStorage . TextFormat . Builder extends GeneratedMessageV3 . Builder<IngestionDataSourceSettings . CloudStorage . TextFormat . Builder > implements IngestionDataSourceSettings . CloudStorage . TextFormatOrBuilder
Configuration for reading Cloud Storage data in text format. Each line of
text as specified by the delimiter will be set to the data
field of a
Pub/Sub message.
Protobuf type google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
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
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public IngestionDataSourceSettings . CloudStorage . TextFormat build ()
buildPartial()
public IngestionDataSourceSettings . CloudStorage . TextFormat buildPartial ()
clear()
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder clear ()
Overrides
clearDelimiter()
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder clearDelimiter ()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder clone ()
Overrides
getDefaultInstanceForType()
public IngestionDataSourceSettings . CloudStorage . TextFormat getDefaultInstanceForType ()
getDelimiter()
public String getDelimiter ()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The delimiter.
getDelimiterBytes()
public ByteString getDelimiterBytes ()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for delimiter.
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
hasDelimiter()
public boolean hasDelimiter ()
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the delimiter field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeFrom(IngestionDataSourceSettings.CloudStorage.TextFormat other)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder mergeFrom ( IngestionDataSourceSettings . CloudStorage . TextFormat other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings . CloudStorage . TextFormat . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDelimiter(String value)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder setDelimiter ( String value )
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String
The delimiter to set.
setDelimiterBytes(ByteString value)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder setDelimiterBytes ( ByteString value )
Optional. When unset, '\n' is used.
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString
The bytes for delimiter to set.
setField(Descriptors.FieldDescriptor field, Object value)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestionDataSourceSettings . CloudStorage . TextFormat . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestionDataSourceSettings . CloudStorage . TextFormat . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]