Class UpdateDataStreamRequest.Builder (0.56.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataStreamRequest build()
Returns
Type Description
UpdateDataStreamRequest

buildPartial()

public UpdateDataStreamRequest buildPartial()
Returns
Type Description
UpdateDataStreamRequest

clear()

public UpdateDataStreamRequest.Builder clear()
Returns
Type Description
UpdateDataStreamRequest.Builder
Overrides

clearDataStream()

public UpdateDataStreamRequest.Builder clearDataStream()

The DataStream to update

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

Returns
Type Description
UpdateDataStreamRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDataStreamRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDataStreamRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDataStreamRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
UpdateDataStreamRequest.Builder

clone()

public UpdateDataStreamRequest.Builder clone()
Returns
Type Description
UpdateDataStreamRequest.Builder
Overrides

getDataStream()

public DataStream getDataStream()

The DataStream to update

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

Returns
Type Description
DataStream

The dataStream.

getDataStreamBuilder()

public DataStream.Builder getDataStreamBuilder()

The DataStream to update

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

Returns
Type Description
DataStream.Builder

getDataStreamOrBuilder()

public DataStreamOrBuilder getDataStreamOrBuilder()

The DataStream to update

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

Returns
Type Description
DataStreamOrBuilder

getDefaultInstanceForType()

public UpdateDataStreamRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataStreamRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasDataStream()

public boolean hasDataStream()

The DataStream to update

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

Returns
Type Description
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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataStream(DataStream value)

public UpdateDataStreamRequest.Builder mergeDataStream(DataStream value)

The DataStream to update

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

Parameter
Name Description
value DataStream
Returns
Type Description
UpdateDataStreamRequest.Builder

mergeFrom(UpdateDataStreamRequest other)

public UpdateDataStreamRequest.Builder mergeFrom(UpdateDataStreamRequest other)
Parameter
Name Description
other UpdateDataStreamRequest
Returns
Type Description
UpdateDataStreamRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateDataStreamRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDataStreamRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataStreamRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
UpdateDataStreamRequest.Builder

setDataStream(DataStream value)

public UpdateDataStreamRequest.Builder setDataStream(DataStream value)

The DataStream to update

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

Parameter
Name Description
value DataStream
Returns
Type Description
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
Name Description
builderForValue DataStream.Builder
Returns
Type Description
UpdateDataStreamRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataStreamRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
UpdateDataStreamRequest.Builder