Class UpdateAudienceRequest.Builder (0.34.0)

public static final class UpdateAudienceRequest.Builder extends GeneratedMessageV3.Builder<UpdateAudienceRequest.Builder> implements UpdateAudienceRequestOrBuilder

Request message for UpdateAudience RPC.

Protobuf type google.analytics.admin.v1alpha.UpdateAudienceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAudienceRequest build()
Returns
TypeDescription
UpdateAudienceRequest

buildPartial()

public UpdateAudienceRequest buildPartial()
Returns
TypeDescription
UpdateAudienceRequest

clear()

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

clearAudience()

public UpdateAudienceRequest.Builder clearAudience()

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateAudienceRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAudienceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateAudienceRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAudienceRequest.Builder clearUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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
UpdateAudienceRequest.Builder

clone()

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

getAudience()

public Audience getAudience()

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Audience

The audience.

getAudienceBuilder()

public Audience.Builder getAudienceBuilder()

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Audience.Builder

getAudienceOrBuilder()

public AudienceOrBuilder getAudienceOrBuilder()

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceOrBuilder

getDefaultInstanceForType()

public UpdateAudienceRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAudienceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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

hasAudience()

public boolean hasAudience()

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the audience field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAudience(Audience value)

public UpdateAudienceRequest.Builder mergeAudience(Audience value)

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAudience
Returns
TypeDescription
UpdateAudienceRequest.Builder

mergeFrom(UpdateAudienceRequest other)

public UpdateAudienceRequest.Builder mergeFrom(UpdateAudienceRequest other)
Parameter
NameDescription
otherUpdateAudienceRequest
Returns
TypeDescription
UpdateAudienceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateAudienceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateAudienceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAudienceRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAudienceRequest.Builder

setAudience(Audience value)

public UpdateAudienceRequest.Builder setAudience(Audience value)

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAudience
Returns
TypeDescription
UpdateAudienceRequest.Builder

setAudience(Audience.Builder builderForValue)

public UpdateAudienceRequest.Builder setAudience(Audience.Builder builderForValue)

Required. The audience to update. The audience's name field is used to identify the audience to be updated.

.google.analytics.admin.v1alpha.Audience audience = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAudience.Builder
Returns
TypeDescription
UpdateAudienceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAudienceRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAudienceRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAudienceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). 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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateAudienceRequest.Builder