Class CreateRollupPropertyRequest (0.42.0)

public final class CreateRollupPropertyRequest extends GeneratedMessageV3 implements CreateRollupPropertyRequestOrBuilder

Request message for CreateRollupProperty RPC.

Protobuf type google.analytics.admin.v1alpha.CreateRollupPropertyRequest

Static Fields

ROLLUP_PROPERTY_FIELD_NUMBER

public static final int ROLLUP_PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_PROPERTIES_FIELD_NUMBER

public static final int SOURCE_PROPERTIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateRollupPropertyRequest getDefaultInstance()
Returns
TypeDescription
CreateRollupPropertyRequest

getDescriptor()

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

newBuilder()

public static CreateRollupPropertyRequest.Builder newBuilder()
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

newBuilder(CreateRollupPropertyRequest prototype)

public static CreateRollupPropertyRequest.Builder newBuilder(CreateRollupPropertyRequest prototype)
Parameter
NameDescription
prototypeCreateRollupPropertyRequest
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateRollupPropertyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateRollupPropertyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateRollupPropertyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateRollupPropertyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateRollupPropertyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateRollupPropertyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateRollupPropertyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateRollupPropertyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateRollupPropertyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateRollupPropertyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateRollupPropertyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateRollupPropertyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateRollupPropertyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateRollupPropertyRequest> parser()
Returns
TypeDescription
Parser<CreateRollupPropertyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateRollupPropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateRollupPropertyRequest

getParserForType()

public Parser<CreateRollupPropertyRequest> getParserForType()
Returns
TypeDescription
Parser<CreateRollupPropertyRequest>
Overrides

getRollupProperty()

public Property getRollupProperty()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Property

The rollupProperty.

getRollupPropertyOrBuilder()

public PropertyOrBuilder getRollupPropertyOrBuilder()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PropertyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceProperties(int index)

public String getSourceProperties(int index)

Optional. The resource names of properties that will be sources to the created roll-up property.

repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sourceProperties at the given index.

getSourcePropertiesBytes(int index)

public ByteString getSourcePropertiesBytes(int index)

Optional. The resource names of properties that will be sources to the created roll-up property.

repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sourceProperties at the given index.

getSourcePropertiesCount()

public int getSourcePropertiesCount()

Optional. The resource names of properties that will be sources to the created roll-up property.

repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of sourceProperties.

getSourcePropertiesList()

public ProtocolStringList getSourcePropertiesList()

Optional. The resource names of properties that will be sources to the created roll-up property.

repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ProtocolStringList

A list containing the sourceProperties.

hasRollupProperty()

public boolean hasRollupProperty()

Required. The roll-up property to create.

.google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the rollupProperty field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateRollupPropertyRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateRollupPropertyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateRollupPropertyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateRollupPropertyRequest.Builder toBuilder()
Returns
TypeDescription
CreateRollupPropertyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException