Class UpdateDataStreamRequest (0.34.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
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateDataStreamRequest getDefaultInstance()
Returns
TypeDescription
UpdateDataStreamRequest

getDescriptor()

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

newBuilder()

public static UpdateDataStreamRequest.Builder newBuilder()
Returns
TypeDescription
UpdateDataStreamRequest.Builder

newBuilder(UpdateDataStreamRequest prototype)

public static UpdateDataStreamRequest.Builder newBuilder(UpdateDataStreamRequest prototype)
Parameter
NameDescription
prototypeUpdateDataStreamRequest
Returns
TypeDescription
UpdateDataStreamRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateDataStreamRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateDataStreamRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateDataStreamRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateDataStreamRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateDataStreamRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateDataStreamRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateDataStreamRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataStreamRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateDataStreamRequest> parser()
Returns
TypeDescription
Parser<UpdateDataStreamRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDataStream()

public DataStream getDataStream()

The DataStream to update

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

Returns
TypeDescription
DataStream

The dataStream.

getDataStreamOrBuilder()

public DataStreamOrBuilder getDataStreamOrBuilder()

The DataStream to update

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

Returns
TypeDescription
DataStreamOrBuilder

getDefaultInstanceForType()

public UpdateDataStreamRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataStreamRequest

getParserForType()

public Parser<UpdateDataStreamRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateDataStreamRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasDataStream()

public boolean hasDataStream()

The DataStream to update

.google.analytics.admin.v1beta.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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateDataStreamRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateDataStreamRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateDataStreamRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateDataStreamRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateDataStreamRequest.Builder toBuilder()
Returns
TypeDescription
UpdateDataStreamRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException