Class UpdatePropertyRequest.Builder (0.95.0)

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

Request message for UpdateProperty RPC.

Protobuf type google.analytics.admin.v1alpha.UpdatePropertyRequest

Static Methods

getDescriptor()

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

Methods

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

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

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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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 GeneratedMessage.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.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Property
Returns
Type Description
UpdatePropertyRequest.Builder

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

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.v1alpha.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.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

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

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