Class UpdateMeasurementProtocolSecretRequest (0.23.0)

public final class UpdateMeasurementProtocolSecretRequest extends GeneratedMessageV3 implements UpdateMeasurementProtocolSecretRequestOrBuilder

Request message for UpdateMeasurementProtocolSecret RPC

Protobuf type google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateMeasurementProtocolSecretRequest

Static Fields

MEASUREMENT_PROTOCOL_SECRET_FIELD_NUMBER

public static final int MEASUREMENT_PROTOCOL_SECRET_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 UpdateMeasurementProtocolSecretRequest getDefaultInstance()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateMeasurementProtocolSecretRequest prototype)

public static UpdateMeasurementProtocolSecretRequest.Builder newBuilder(UpdateMeasurementProtocolSecretRequest prototype)
Parameter
NameDescription
prototypeUpdateMeasurementProtocolSecretRequest
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest

getMeasurementProtocolSecret()

public MeasurementProtocolSecret getMeasurementProtocolSecret()

Required. The measurement protocol secret to update.

.google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MeasurementProtocolSecret

The measurementProtocolSecret.

getMeasurementProtocolSecretOrBuilder()

public MeasurementProtocolSecretOrBuilder getMeasurementProtocolSecretOrBuilder()

Required. The measurement protocol secret to update.

.google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MeasurementProtocolSecretOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to be updated. Omitted fields will not be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated. Omitted fields will not be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasMeasurementProtocolSecret()

public boolean hasMeasurementProtocolSecret()

Required. The measurement protocol secret to update.

.google.analytics.admin.v1beta.MeasurementProtocolSecret measurement_protocol_secret = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the measurementProtocolSecret field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be updated. Omitted fields will not be updated.

.google.protobuf.FieldMask update_mask = 2;

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 UpdateMeasurementProtocolSecretRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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