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
public static final int PATH_FIELD_NUMBER
Field Value
public static final int WORKSPACE_FIELD_NUMBER
Field Value
Static Methods
public static WriteFileRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static WriteFileRequest.Builder newBuilder()
Returns
public static WriteFileRequest.Builder newBuilder(WriteFileRequest prototype)
Parameter
Returns
public static WriteFileRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteFileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFileRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static WriteFileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFileRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static WriteFileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFileRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WriteFileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFileRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteFileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteFileRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static WriteFileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<WriteFileRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
getContents()
public ByteString getContents()
Required. The file's contents.
bytes contents = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public WriteFileRequest getDefaultInstanceForType()
Returns
public Parser<WriteFileRequest> getParserForType()
Returns
Overrides
Required. The file.
string path = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The path.
|
public ByteString getPathBytes()
Required. The file.
string path = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public WriteFileRequest.Builder newBuilderForType()
Returns
protected WriteFileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public WriteFileRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions