Class CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder (0.53.0)

See more code actions.
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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommitRepositoryChangesRequest.FileOperation.WriteFile.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 CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public CommitRepositoryChangesRequest.FileOperation.WriteFile build()

buildPartial()

public CommitRepositoryChangesRequest.FileOperation.WriteFile buildPartial()

clear()

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder clone()
Overrides

getContents()

public ByteString getContents()

The file's contents.

bytes contents = 1;

Returns
Type Description
ByteString

The contents.

getDefaultInstanceForType()

public CommitRepositoryChangesRequest.FileOperation.WriteFile getDefaultInstanceForType()

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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