Class FetchFileGitStatusesResponse.UncommittedFileChange.Builder (0.57.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.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchFileGitStatusesResponse.UncommittedFileChange.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public FetchFileGitStatusesResponse.UncommittedFileChange build()

buildPartial()

public FetchFileGitStatusesResponse.UncommittedFileChange buildPartial()

clear()

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2;

Returns
Type Description
FetchFileGitStatusesResponse.UncommittedFileChange.Builder

This builder for chaining.

clone()

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder clone()
Overrides

getDefaultInstanceForType()

public FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType()

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.v1alpha2.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.v1alpha2.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FetchFileGitStatusesResponse.UncommittedFileChange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setState(FetchFileGitStatusesResponse.UncommittedFileChange.State value)

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

Indicates the status of the file.

.google.cloud.dataform.v1alpha2.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.v1alpha2.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
Overrides