Class CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder (0.31.0)

public static final class CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder extends GeneratedMessageV3.Builder<CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder> implements CommitRepositoryChangesRequest.FileOperation.WriteFileOrBuilder

Represents the write file operation (for files added or modified).

Protobuf type google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CommitRepositoryChangesRequest.FileOperation.WriteFile build()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile

buildPartial()

public CommitRepositoryChangesRequest.FileOperation.WriteFile buildPartial()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile

clear()

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clear()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides

clearContents()

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clearContents()

The file's contents.

bytes contents = 1;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides

clone()

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clone()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides

getContents()

public ByteString getContents()

The file's contents.

bytes contents = 1;

Returns
Type Description
ByteString

The contents.

getDefaultInstanceForType()

public CommitRepositoryChangesRequest.FileOperation.WriteFile getDefaultInstanceForType()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommitRepositoryChangesRequest.FileOperation.WriteFile other)

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder mergeFrom(CommitRepositoryChangesRequest.FileOperation.WriteFile other)
Parameter
Name Description
other CommitRepositoryChangesRequest.FileOperation.WriteFile
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides

setContents(ByteString value)

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder setContents(ByteString value)

The file's contents.

bytes contents = 1;

Parameter
Name Description
value ByteString

The contents to set.

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Overrides