- 0.77.0 (latest)
 - 0.75.0
 - 0.74.0
 - 0.73.0
 - 0.72.0
 - 0.71.0
 - 0.69.0
 - 0.67.0
 - 0.66.0
 - 0.63.0
 - 0.62.0
 - 0.61.0
 - 0.59.0
 - 0.58.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.48.0
 - 0.47.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.36.0
 - 0.35.0
 - 0.34.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.23.0
 - 0.22.0
 - 0.21.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.8.0
 - 0.7.0
 - 0.6.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.4
 
public static final class ReadFileRequest.Builder extends GeneratedMessageV3.Builder<ReadFileRequest.Builder> implements ReadFileRequestOrBuilder ReadFile request message.
 Protobuf type google.cloud.dataform.v1.ReadFileRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadFileRequest.BuilderImplements
ReadFileRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadFileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
build()
public ReadFileRequest build()| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest | 
        |
buildPartial()
public ReadFileRequest buildPartial()| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest | 
        |
clear()
public ReadFileRequest.Builder clear()| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public ReadFileRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
clearPath()
public ReadFileRequest.Builder clearPath()Required. The file's full path including filename, relative to the workspace root.
 string path = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
clearRevision()
public ReadFileRequest.Builder clearRevision() Optional. The Git revision of the file to return. If left empty, the
 current contents of path will be returned.
 string revision = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
clearWorkspace()
public ReadFileRequest.Builder clearWorkspace()Required. The workspace's name.
 
 string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
clone()
public ReadFileRequest.Builder clone()| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
getDefaultInstanceForType()
public ReadFileRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getPath()
public String getPath()Required. The file's full path including filename, relative to the workspace root.
 string path = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The path.  | 
      
getPathBytes()
public ByteString getPathBytes()Required. The file's full path including filename, relative to the workspace root.
 string path = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for path.  | 
      
getRevision()
public String getRevision() Optional. The Git revision of the file to return. If left empty, the
 current contents of path will be returned.
 string revision = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The revision.  | 
      
getRevisionBytes()
public ByteString getRevisionBytes() Optional. The Git revision of the file to return. If left empty, the
 current contents of path will be returned.
 string revision = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for revision.  | 
      
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.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(ReadFileRequest other)
public ReadFileRequest.Builder mergeFrom(ReadFileRequest other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        ReadFileRequest | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadFileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public ReadFileRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadFileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadFileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
setPath(String value)
public ReadFileRequest.Builder setPath(String value)Required. The file's full path including filename, relative to the workspace root.
 string path = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe path to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
setPathBytes(ByteString value)
public ReadFileRequest.Builder setPathBytes(ByteString value)Required. The file's full path including filename, relative to the workspace root.
 string path = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for path to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadFileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
setRevision(String value)
public ReadFileRequest.Builder setRevision(String value) Optional. The Git revision of the file to return. If left empty, the
 current contents of path will be returned.
 string revision = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe revision to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
setRevisionBytes(ByteString value)
public ReadFileRequest.Builder setRevisionBytes(ByteString value) Optional. The Git revision of the file to return. If left empty, the
 current contents of path will be returned.
 string revision = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for revision to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        |
setWorkspace(String value)
public ReadFileRequest.Builder setWorkspace(String value)Required. The workspace's name.
 
 string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe workspace to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  | 
      
setWorkspaceBytes(ByteString value)
public ReadFileRequest.Builder setWorkspaceBytes(ByteString value)Required. The workspace's name.
 
 string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for workspace to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ReadFileRequest.Builder | 
        This builder for chaining.  |