Class UpdatePropertyRequest.Builder (0.16.0)

public static final class UpdatePropertyRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePropertyRequest build()
Returns
TypeDescription
UpdatePropertyRequest

buildPartial()

public UpdatePropertyRequest buildPartial()
Returns
TypeDescription
UpdatePropertyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePropertyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdatePropertyRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdatePropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdatePropertyRequest

getDescriptorForType()

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

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
TypeDescription
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
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(UpdatePropertyRequest other)

public UpdatePropertyRequest.Builder mergeFrom(UpdatePropertyRequest other)
Parameter
NameDescription
otherUpdatePropertyRequest
Returns
TypeDescription
UpdatePropertyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePropertyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdatePropertyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePropertyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1alpha.Property property = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueProperty
Returns
TypeDescription
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
NameDescription
builderForValueProperty.Builder
Returns
TypeDescription
UpdatePropertyRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePropertyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdatePropertyRequest.Builder