Class UpdatePropertyRequest.Builder (0.63.0)

public static final class UpdatePropertyRequest.Builder extends GeneratedMessageV3.Builder<UpdatePropertyRequest.Builder> implements UpdatePropertyRequestOrBuilder

Request message for UpdateProperty RPC.

Protobuf type google.analytics.admin.v1beta.UpdatePropertyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePropertyRequest build()
Returns
Type Description
UpdatePropertyRequest

buildPartial()

public UpdatePropertyRequest buildPartial()
Returns
Type Description
UpdatePropertyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperty()

public UpdatePropertyRequest.Builder clearProperty()

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdatePropertyRequest.Builder

clearUpdateMask()

public UpdatePropertyRequest.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
Type Description
UpdatePropertyRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdatePropertyRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePropertyRequest

getDescriptorForType()

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

getProperty()

public Property getProperty()

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Property

The property.

getPropertyBuilder()

public Property.Builder getPropertyBuilder()

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Property.Builder

getPropertyOrBuilder()

public PropertyOrBuilder getPropertyOrBuilder()

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PropertyOrBuilder

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

hasProperty()

public boolean hasProperty()

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the property 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
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(UpdatePropertyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperty(Property value)

public UpdatePropertyRequest.Builder mergeProperty(Property value)

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Property
Returns
Type Description
UpdatePropertyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdatePropertyRequest.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
Name Description
value FieldMask
Returns
Type Description
UpdatePropertyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setProperty(Property value)

public UpdatePropertyRequest.Builder setProperty(Property value)

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Property
Returns
Type Description
UpdatePropertyRequest.Builder

setProperty(Property.Builder builderForValue)

public UpdatePropertyRequest.Builder setProperty(Property.Builder builderForValue)

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

.google.analytics.admin.v1beta.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Property.Builder
Returns
Type Description
UpdatePropertyRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdatePropertyRequest.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
Name Description
value FieldMask
Returns
Type Description
UpdatePropertyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePropertyRequest.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
Name Description
builderForValue Builder
Returns
Type Description
UpdatePropertyRequest.Builder