Class WriteFileRequest (0.17.0)

public final class WriteFileRequest extends GeneratedMessageV3 implements WriteFileRequestOrBuilder

WriteFile request message.

Protobuf type google.cloud.dataform.v1beta1.WriteFileRequest

Static Fields

CONTENTS_FIELD_NUMBER

public static final int CONTENTS_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

WORKSPACE_FIELD_NUMBER

public static final int WORKSPACE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WriteFileRequest getDefaultInstance()
Returns
Type Description
WriteFileRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WriteFileRequest.Builder newBuilder()
Returns
Type Description
WriteFileRequest.Builder

newBuilder(WriteFileRequest prototype)

public static WriteFileRequest.Builder newBuilder(WriteFileRequest prototype)
Parameter
Name Description
prototype WriteFileRequest
Returns
Type Description
WriteFileRequest.Builder

parseDelimitedFrom(InputStream input)

public static WriteFileRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WriteFileRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WriteFileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WriteFileRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WriteFileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WriteFileRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WriteFileRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteFileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WriteFileRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WriteFileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteFileRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WriteFileRequest> parser()
Returns
Type Description
Parser<WriteFileRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContents()

public ByteString getContents()

Required. The file's contents.

bytes contents = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The contents.

getDefaultInstanceForType()

public WriteFileRequest getDefaultInstanceForType()
Returns
Type Description
WriteFileRequest

getParserForType()

public Parser<WriteFileRequest> getParserForType()
Returns
Type Description
Parser<WriteFileRequest>
Overrides

getPath()

public String getPath()

Required. The file.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Required. The file.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getWorkspace()

public String getWorkspace()

Required. The workspace's name.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public ByteString getWorkspaceBytes()

Required. The workspace's name.

string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workspace.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WriteFileRequest.Builder newBuilderForType()
Returns
Type Description
WriteFileRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WriteFileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WriteFileRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WriteFileRequest.Builder toBuilder()
Returns
Type Description
WriteFileRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException