public final class CreateWriteStreamRequest extends GeneratedMessageV3 implements CreateWriteStreamRequestOrBuilder
Request message for CreateWriteStream
.
Protobuf type google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateWriteStreamRequestImplements
CreateWriteStreamRequestOrBuilderFields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
WRITE_STREAM_FIELD_NUMBER
public static final int WRITE_STREAM_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static CreateWriteStreamRequest getDefaultInstance()
Type | Description |
CreateWriteStreamRequest |
getDefaultInstanceForType()
public CreateWriteStreamRequest getDefaultInstanceForType()
Type | Description |
CreateWriteStreamRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Reference to the table to which the stream belongs, in the format
of projects/{project}/datasets/{dataset}/tables/{table}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<CreateWriteStreamRequest> getParserForType()
Type | Description |
Parser<CreateWriteStreamRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWriteStream()
public WriteStream getWriteStream()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WriteStream | The writeStream. |
getWriteStreamOrBuilder()
public WriteStreamOrBuilder getWriteStreamOrBuilder()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WriteStreamOrBuilder |
hasWriteStream()
public boolean hasWriteStream()
Required. Stream to be created.
.google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the writeStream field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static CreateWriteStreamRequest.Builder newBuilder()
Type | Description |
CreateWriteStreamRequest.Builder |
newBuilder(CreateWriteStreamRequest prototype)
public static CreateWriteStreamRequest.Builder newBuilder(CreateWriteStreamRequest prototype)
Name | Description |
prototype | CreateWriteStreamRequest |
Type | Description |
CreateWriteStreamRequest.Builder |
newBuilderForType()
public CreateWriteStreamRequest.Builder newBuilderForType()
Type | Description |
CreateWriteStreamRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateWriteStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CreateWriteStreamRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static CreateWriteStreamRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateWriteStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateWriteStreamRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateWriteStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateWriteStreamRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateWriteStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateWriteStreamRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateWriteStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateWriteStreamRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateWriteStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateWriteStreamRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateWriteStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWriteStreamRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateWriteStreamRequest> parser()
Type | Description |
Parser<CreateWriteStreamRequest> |
toBuilder()
public CreateWriteStreamRequest.Builder toBuilder()
Type | Description |
CreateWriteStreamRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |