Class FetchFileGitStatusesResponse.UncommittedFileChange.Builder (0.42.0)

public static final class FetchFileGitStatusesResponse.UncommittedFileChange.Builder extends GeneratedMessageV3.Builder<FetchFileGitStatusesResponse.UncommittedFileChange.Builder> implements FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder

Represents the Git state of a file with uncommitted changes.

Protobuf type google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchFileGitStatusesResponse.UncommittedFileChange.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchFileGitStatusesResponse.UncommittedFileChange build()
Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange

buildPartial()

public FetchFileGitStatusesResponse.UncommittedFileChange buildPartial()
Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange

clear()

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clear()
Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clearPath()

The file's full path including filename, relative to the workspace root.

string path = 1;

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

clearState()

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clearState()

Indicates the status of the file.

.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2;

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

clone()

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clone()
Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder
Overrides

getDefaultInstanceForType()

public FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType()
Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange

getDescriptorForType()

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

getPath()

public String getPath()

The file's full path including filename, relative to the workspace root.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

The file's full path including filename, relative to the workspace root.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

getState()

public FetchFileGitStatusesResponse.UncommittedFileChange.State getState()

Indicates the status of the file.

.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2;

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.State

The state.

getStateValue()

public int getStateValue()

Indicates the status of the file.

.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2;

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchFileGitStatusesResponse.UncommittedFileChange other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder setPath(String value)

The file's full path including filename, relative to the workspace root.

string path = 1;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

setPathBytes(ByteString value)

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder setPathBytes(ByteString value)

The file's full path including filename, relative to the workspace root.

string path = 1;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

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

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

setState(FetchFileGitStatusesResponse.UncommittedFileChange.State value)

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder setState(FetchFileGitStatusesResponse.UncommittedFileChange.State value)

Indicates the status of the file.

.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2;

Parameter
Name Description
value FetchFileGitStatusesResponse.UncommittedFileChange.State

The state to set.

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

setStateValue(int value)

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder setStateValue(int value)

Indicates the status of the file.

.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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