Class UpdateDataStreamRequest (0.54.0)

public final class UpdateDataStreamRequest extends GeneratedMessageV3 implements UpdateDataStreamRequestOrBuilder

Request message for UpdateDataStream RPC.

Protobuf type google.analytics.admin.v1beta.UpdateDataStreamRequest

Static Fields

DATA_STREAM_FIELD_NUMBER

public static final int DATA_STREAM_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateDataStreamRequest getDefaultInstance()
Returns
Type Description
UpdateDataStreamRequest

getDescriptor()

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

newBuilder()

public static UpdateDataStreamRequest.Builder newBuilder()
Returns
Type Description
UpdateDataStreamRequest.Builder

newBuilder(UpdateDataStreamRequest prototype)

public static UpdateDataStreamRequest.Builder newBuilder(UpdateDataStreamRequest prototype)
Parameter
Name Description
prototype UpdateDataStreamRequest
Returns
Type Description
UpdateDataStreamRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateDataStreamRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateDataStreamRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateDataStreamRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateDataStreamRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateDataStreamRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateDataStreamRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDataStreamRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateDataStreamRequest> parser()
Returns
Type Description
Parser<UpdateDataStreamRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataStream()

public DataStream getDataStream()

The DataStream to update

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

Returns
Type Description
DataStream

The dataStream.

getDataStreamOrBuilder()

public DataStreamOrBuilder getDataStreamOrBuilder()

The DataStream to update

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

Returns
Type Description
DataStreamOrBuilder

getDefaultInstanceForType()

public UpdateDataStreamRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataStreamRequest

getParserForType()

public Parser<UpdateDataStreamRequest> getParserForType()
Returns
Type Description
Parser<UpdateDataStreamRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.v1beta.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateDataStreamRequest.Builder newBuilderForType()
Returns
Type Description
UpdateDataStreamRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateDataStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateDataStreamRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateDataStreamRequest.Builder toBuilder()
Returns
Type Description
UpdateDataStreamRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException