Class UpdateMeasurementProtocolSecretRequest.Builder (0.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateMeasurementProtocolSecretRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

build()

public UpdateMeasurementProtocolSecretRequest build()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest

buildPartial()

public UpdateMeasurementProtocolSecretRequest buildPartial()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest

clear()

public UpdateMeasurementProtocolSecretRequest.Builder clear()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateMeasurementProtocolSecretRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateMeasurementProtocolSecretRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

clearUpdateMask()

public UpdateMeasurementProtocolSecretRequest.Builder clearUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

clone()

public UpdateMeasurementProtocolSecretRequest.Builder clone()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateMeasurementProtocolSecretRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MeasurementProtocolSecretOrBuilder

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.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateMeasurementProtocolSecretRequest other)

public UpdateMeasurementProtocolSecretRequest.Builder mergeFrom(UpdateMeasurementProtocolSecretRequest other)
Parameter
NameDescription
otherUpdateMeasurementProtocolSecretRequest
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateMeasurementProtocolSecretRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateMeasurementProtocolSecretRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMeasurementProtocolSecret
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMeasurementProtocolSecretRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateMeasurementProtocolSecretRequest.Builder mergeUpdateMask(FieldMask value)

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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateMeasurementProtocolSecretRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMeasurementProtocolSecret
Returns
TypeDescription
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
NameDescription
builderForValueMeasurementProtocolSecret.Builder
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

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

public UpdateMeasurementProtocolSecretRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMeasurementProtocolSecretRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateMeasurementProtocolSecretRequest.Builder setUpdateMask(FieldMask value)

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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMeasurementProtocolSecretRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateMeasurementProtocolSecretRequest.Builder