Class FetchFileDiffResponse.Builder (0.44.0)

public static final class FetchFileDiffResponse.Builder extends GeneratedMessageV3.Builder<FetchFileDiffResponse.Builder> implements FetchFileDiffResponseOrBuilder

FetchFileDiff response message.

Protobuf type google.cloud.dataform.v1alpha2.FetchFileDiffResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchFileDiffResponse build()
Returns
Type Description
FetchFileDiffResponse

buildPartial()

public FetchFileDiffResponse buildPartial()
Returns
Type Description
FetchFileDiffResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFormattedDiff()

public FetchFileDiffResponse.Builder clearFormattedDiff()

The raw formatted Git diff for the file.

string formatted_diff = 1;

Returns
Type Description
FetchFileDiffResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchFileDiffResponse getDefaultInstanceForType()
Returns
Type Description
FetchFileDiffResponse

getDescriptorForType()

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

getFormattedDiff()

public String getFormattedDiff()

The raw formatted Git diff for the file.

string formatted_diff = 1;

Returns
Type Description
String

The formattedDiff.

getFormattedDiffBytes()

public ByteString getFormattedDiffBytes()

The raw formatted Git diff for the file.

string formatted_diff = 1;

Returns
Type Description
ByteString

The bytes for formattedDiff.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchFileDiffResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFormattedDiff(String value)

public FetchFileDiffResponse.Builder setFormattedDiff(String value)

The raw formatted Git diff for the file.

string formatted_diff = 1;

Parameter
Name Description
value String

The formattedDiff to set.

Returns
Type Description
FetchFileDiffResponse.Builder

This builder for chaining.

setFormattedDiffBytes(ByteString value)

public FetchFileDiffResponse.Builder setFormattedDiffBytes(ByteString value)

The raw formatted Git diff for the file.

string formatted_diff = 1;

Parameter
Name Description
value ByteString

The bytes for formattedDiff to set.

Returns
Type Description
FetchFileDiffResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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