Class UpdateMeasurementProtocolSecretRequest.Builder (0.56.0)

public static final class UpdateMeasurementProtocolSecretRequest.Builder extends GeneratedMessageV3.Builder<UpdateMeasurementProtocolSecretRequest.Builder> implements UpdateMeasurementProtocolSecretRequestOrBuilder

Request message for UpdateMeasurementProtocolSecret RPC

Protobuf type google.analytics.admin.v1beta.UpdateMeasurementProtocolSecretRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateMeasurementProtocolSecretRequest build()
Returns
Type Description
UpdateMeasurementProtocolSecretRequest

buildPartial()

public UpdateMeasurementProtocolSecretRequest buildPartial()
Returns
Type Description
UpdateMeasurementProtocolSecretRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMeasurementProtocolSecret()

public UpdateMeasurementProtocolSecretRequest.Builder clearMeasurementProtocolSecret()

Required. The measurement protocol secret to update.

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

Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateMeasurementProtocolSecretRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

clearUpdateMask()

public UpdateMeasurementProtocolSecretRequest.Builder clearUpdateMask()

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

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

Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType()
Returns
Type Description
UpdateMeasurementProtocolSecretRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
MeasurementProtocolSecret

The measurementProtocolSecret.

getMeasurementProtocolSecretBuilder()

public MeasurementProtocolSecret.Builder getMeasurementProtocolSecretBuilder()

Required. The measurement protocol secret to update.

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

Returns
Type Description
MeasurementProtocolSecret.Builder

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
Type Description
MeasurementProtocolSecretOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

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

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

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

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

Whether the measurementProtocolSecret field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

.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

mergeFrom(UpdateMeasurementProtocolSecretRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMeasurementProtocolSecret(MeasurementProtocolSecret value)

public UpdateMeasurementProtocolSecretRequest.Builder mergeMeasurementProtocolSecret(MeasurementProtocolSecret value)

Required. The measurement protocol secret to update.

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

Parameter
Name Description
value MeasurementProtocolSecret
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMeasurementProtocolSecretRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateMeasurementProtocolSecretRequest.Builder mergeUpdateMask(FieldMask value)

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

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMeasurementProtocolSecret(MeasurementProtocolSecret value)

public UpdateMeasurementProtocolSecretRequest.Builder setMeasurementProtocolSecret(MeasurementProtocolSecret value)

Required. The measurement protocol secret to update.

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

Parameter
Name Description
value MeasurementProtocolSecret
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

setMeasurementProtocolSecret(MeasurementProtocolSecret.Builder builderForValue)

public UpdateMeasurementProtocolSecretRequest.Builder setMeasurementProtocolSecret(MeasurementProtocolSecret.Builder builderForValue)

Required. The measurement protocol secret to update.

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

Parameter
Name Description
builderForValue MeasurementProtocolSecret.Builder
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMeasurementProtocolSecretRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateMeasurementProtocolSecretRequest.Builder setUpdateMask(FieldMask value)

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

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMeasurementProtocolSecretRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateMeasurementProtocolSecretRequest.Builder