Send feedback
Class SourceSpec (0.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.54.0 keyboard_arrow_down
public final class SourceSpec extends GeneratedMessageV3 implements SourceSpecOrBuilder
Represents one path to the location that holds source data.
Protobuf type google.cloud.bigquery.migration.v2.SourceSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BASE_URI_FIELD_NUMBER
public static final int BASE_URI_FIELD_NUMBER
Field Value
Type
Description
int
ENCODING_FIELD_NUMBER
public static final int ENCODING_FIELD_NUMBER
Field Value
Type
Description
int
LITERAL_FIELD_NUMBER
public static final int LITERAL_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static SourceSpec getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SourceSpec . Builder newBuilder ()
newBuilder(SourceSpec prototype)
public static SourceSpec . Builder newBuilder ( SourceSpec prototype )
public static SourceSpec parseDelimitedFrom ( InputStream input )
public static SourceSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SourceSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SourceSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SourceSpec parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SourceSpec parseFrom ( CodedInputStream input )
public static SourceSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SourceSpec parseFrom ( InputStream input )
public static SourceSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SourceSpec parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SourceSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SourceSpec> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBaseUri()
public String getBaseUri ()
The base URI for all files to be read in as sources for translation.
string base_uri = 1;
Returns
Type
Description
String
The baseUri.
getBaseUriBytes()
public ByteString getBaseUriBytes ()
The base URI for all files to be read in as sources for translation.
string base_uri = 1;
Returns
Type
Description
ByteString
The bytes for baseUri.
getDefaultInstanceForType()
public SourceSpec getDefaultInstanceForType ()
getEncoding()
public String getEncoding ()
Optional. The optional field to specify the encoding of the sql bytes.
string encoding = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The encoding.
getEncodingBytes()
public ByteString getEncodingBytes ()
Optional. The optional field to specify the encoding of the sql bytes.
string encoding = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for encoding.
getLiteral()
public Literal getLiteral ()
Source literal.
.google.cloud.bigquery.migration.v2.Literal literal = 2;
Returns
Type
Description
Literal
The literal.
getLiteralOrBuilder()
public LiteralOrBuilder getLiteralOrBuilder ()
Source literal.
.google.cloud.bigquery.migration.v2.Literal literal = 2;
getParserForType()
public Parser<SourceSpec> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSourceCase()
public SourceSpec . SourceCase getSourceCase ()
hasBaseUri()
public boolean hasBaseUri ()
The base URI for all files to be read in as sources for translation.
string base_uri = 1;
Returns
Type
Description
boolean
Whether the baseUri field is set.
hasLiteral()
public boolean hasLiteral ()
Source literal.
.google.cloud.bigquery.migration.v2.Literal literal = 2;
Returns
Type
Description
boolean
Whether the literal field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SourceSpec . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SourceSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public SourceSpec . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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-27 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-27 UTC."],[],[]]