Class FetchFileDiffRequest.Builder (0.54.0)

public static final class FetchFileDiffRequest.Builder extends GeneratedMessageV3.Builder<FetchFileDiffRequest.Builder> implements FetchFileDiffRequestOrBuilder

FetchFileDiff request message.

Protobuf type google.cloud.dataform.v1alpha2.FetchFileDiffRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchFileDiffRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

build()

public FetchFileDiffRequest build()
Returns
Type Description
FetchFileDiffRequest

buildPartial()

public FetchFileDiffRequest buildPartial()
Returns
Type Description
FetchFileDiffRequest

clear()

public FetchFileDiffRequest.Builder clear()
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FetchFileDiffRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchFileDiffRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

clearPath()

public FetchFileDiffRequest.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
FetchFileDiffRequest.Builder

This builder for chaining.

clearWorkspace()

public FetchFileDiffRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
FetchFileDiffRequest.Builder

This builder for chaining.

clone()

public FetchFileDiffRequest.Builder clone()
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

getDefaultInstanceForType()

public FetchFileDiffRequest getDefaultInstanceForType()
Returns
Type Description
FetchFileDiffRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchFileDiffRequest other)

public FetchFileDiffRequest.Builder mergeFrom(FetchFileDiffRequest other)
Parameter
Name Description
other FetchFileDiffRequest
Returns
Type Description
FetchFileDiffRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchFileDiffRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchFileDiffRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchFileDiffRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FetchFileDiffRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

setPath(String value)

public FetchFileDiffRequest.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 String

The path to set.

Returns
Type Description
FetchFileDiffRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public FetchFileDiffRequest.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 ByteString

The bytes for path to set.

Returns
Type Description
FetchFileDiffRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchFileDiffRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchFileDiffRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchFileDiffRequest.Builder
Overrides

setWorkspace(String value)

public FetchFileDiffRequest.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 String

The workspace to set.

Returns
Type Description
FetchFileDiffRequest.Builder

This builder for chaining.

setWorkspaceBytes(ByteString value)

public FetchFileDiffRequest.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 ByteString

The bytes for workspace to set.

Returns
Type Description
FetchFileDiffRequest.Builder

This builder for chaining.