Class UpdateDataStreamRequest.Builder (0.47.0)

public static final class UpdateDataStreamRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataStreamRequest.Builder> implements UpdateDataStreamRequestOrBuilder

Request message for UpdateDataStream RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateDataStreamRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataStreamRequest build()
Returns
TypeDescription
UpdateDataStreamRequest

buildPartial()

public UpdateDataStreamRequest buildPartial()
Returns
TypeDescription
UpdateDataStreamRequest

clear()

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

clearDataStream()

public UpdateDataStreamRequest.Builder clearDataStream()

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Returns
TypeDescription
UpdateDataStreamRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDataStreamRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDataStreamRequest.Builder

clone()

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

getDataStream()

public DataStream getDataStream()

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Returns
TypeDescription
DataStream

The dataStream.

getDataStreamBuilder()

public DataStream.Builder getDataStreamBuilder()

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Returns
TypeDescription
DataStream.Builder

getDataStreamOrBuilder()

public DataStreamOrBuilder getDataStreamOrBuilder()

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Returns
TypeDescription
DataStreamOrBuilder

getDefaultInstanceForType()

public UpdateDataStreamRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataStreamRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasDataStream()

public boolean hasDataStream()

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Returns
TypeDescription
boolean

Whether the dataStream field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataStream(DataStream value)

public UpdateDataStreamRequest.Builder mergeDataStream(DataStream value)

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Parameter
NameDescription
valueDataStream
Returns
TypeDescription
UpdateDataStreamRequest.Builder

mergeFrom(UpdateDataStreamRequest other)

public UpdateDataStreamRequest.Builder mergeFrom(UpdateDataStreamRequest other)
Parameter
NameDescription
otherUpdateDataStreamRequest
Returns
TypeDescription
UpdateDataStreamRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDataStreamRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDataStreamRequest.Builder

setDataStream(DataStream value)

public UpdateDataStreamRequest.Builder setDataStream(DataStream value)

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Parameter
NameDescription
valueDataStream
Returns
TypeDescription
UpdateDataStreamRequest.Builder

setDataStream(DataStream.Builder builderForValue)

public UpdateDataStreamRequest.Builder setDataStream(DataStream.Builder builderForValue)

The DataStream to update

.google.analytics.admin.v1alpha.DataStream data_stream = 1;

Parameter
NameDescription
builderForValueDataStream.Builder
Returns
TypeDescription
UpdateDataStreamRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDataStreamRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDataStreamRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataStreamRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDataStreamRequest.Builder