Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class WriteFileRequest (0.16.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.16.0keyboard_arrow_down
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
public static final int PATH_FIELD_NUMBER
Field Value
Type
Description
int
public static final int WORKSPACE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static WriteFileRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static WriteFileRequest . Builder newBuilder ()
public static WriteFileRequest . Builder newBuilder ( WriteFileRequest prototype )
public static WriteFileRequest parseDelimitedFrom ( InputStream input )
public static WriteFileRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static WriteFileRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static WriteFileRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static WriteFileRequest parseFrom ( ByteString data )
public static WriteFileRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static WriteFileRequest parseFrom ( CodedInputStream input )
public static WriteFileRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static WriteFileRequest parseFrom ( InputStream input )
public static WriteFileRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static WriteFileRequest parseFrom ( ByteBuffer data )
public static WriteFileRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<WriteFileRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getContents()
public ByteString getContents ()
Required. The file's contents.
bytes contents = 3 [(.google.api.field_behavior) = REQUIRED];
public WriteFileRequest getDefaultInstanceForType ()
public Parser<WriteFileRequest> getParserForType ()
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
Type
Description
ByteString
The bytes for path.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public final UnknownFieldSet getUnknownFields ()
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
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public WriteFileRequest . Builder newBuilderForType ()
protected WriteFileRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public WriteFileRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]