Class CreateRowRequest.Builder (0.27.0)

public static final class CreateRowRequest.Builder extends GeneratedMessageV3.Builder<CreateRowRequest.Builder> implements CreateRowRequestOrBuilder

Request message for TablesService.CreateRow.

Protobuf type google.area120.tables.v1alpha1.CreateRowRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateRowRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

build()

public CreateRowRequest build()
Returns
TypeDescription
CreateRowRequest

buildPartial()

public CreateRowRequest buildPartial()
Returns
TypeDescription
CreateRowRequest

clear()

public CreateRowRequest.Builder clear()
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateRowRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateRowRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

clearParent()

public CreateRowRequest.Builder clearParent()

Required. The parent table where this row will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateRowRequest.Builder

This builder for chaining.

clearRow()

public CreateRowRequest.Builder clearRow()

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateRowRequest.Builder

clearView()

public CreateRowRequest.Builder clearView()

Optional. Column key to use for values in the row. Defaults to user entered name.

.google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
CreateRowRequest.Builder

This builder for chaining.

clone()

public CreateRowRequest.Builder clone()
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateRowRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateRowRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The parent table where this row will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent table where this row will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getRow()

public Row getRow()

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Row

The row.

getRowBuilder()

public Row.Builder getRowBuilder()

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Row.Builder

getRowOrBuilder()

public RowOrBuilder getRowOrBuilder()

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
RowOrBuilder

getView()

public View getView()

Optional. Column key to use for values in the row. Defaults to user entered name.

.google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
View

The view.

getViewValue()

public int getViewValue()

Optional. Column key to use for values in the row. Defaults to user entered name.

.google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for view.

hasRow()

public boolean hasRow()

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the row field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateRowRequest other)

public CreateRowRequest.Builder mergeFrom(CreateRowRequest other)
Parameter
NameDescription
otherCreateRowRequest
Returns
TypeDescription
CreateRowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateRowRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRowRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateRowRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

mergeRow(Row value)

public CreateRowRequest.Builder mergeRow(Row value)

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRow
Returns
TypeDescription
CreateRowRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateRowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateRowRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

setParent(String value)

public CreateRowRequest.Builder setParent(String value)

Required. The parent table where this row will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateRowRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateRowRequest.Builder setParentBytes(ByteString value)

Required. The parent table where this row will be created. Format: tables/{table}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateRowRequest.Builder

This builder for chaining.

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

public CreateRowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

setRow(Row value)

public CreateRowRequest.Builder setRow(Row value)

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueRow
Returns
TypeDescription
CreateRowRequest.Builder

setRow(Row.Builder builderForValue)

public CreateRowRequest.Builder setRow(Row.Builder builderForValue)

Required. The row to create.

.google.area120.tables.v1alpha1.Row row = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueRow.Builder
Returns
TypeDescription
CreateRowRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateRowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateRowRequest.Builder
Overrides

setView(View value)

public CreateRowRequest.Builder setView(View value)

Optional. Column key to use for values in the row. Defaults to user entered name.

.google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueView

The view to set.

Returns
TypeDescription
CreateRowRequest.Builder

This builder for chaining.

setViewValue(int value)

public CreateRowRequest.Builder setViewValue(int value)

Optional. Column key to use for values in the row. Defaults to user entered name.

.google.area120.tables.v1alpha1.View view = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

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

Returns
TypeDescription
CreateRowRequest.Builder

This builder for chaining.