Class CreateSubpropertyRequest (0.53.0)

public final class CreateSubpropertyRequest extends GeneratedMessageV3 implements CreateSubpropertyRequestOrBuilder

Request message for CreateSubproperty RPC.

Protobuf type google.analytics.admin.v1alpha.CreateSubpropertyRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER

public static final int SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER
Field Value
Type Description
int

SUBPROPERTY_FIELD_NUMBER

public static final int SUBPROPERTY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateSubpropertyRequest getDefaultInstance()
Returns
Type Description
CreateSubpropertyRequest

getDescriptor()

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

newBuilder()

public static CreateSubpropertyRequest.Builder newBuilder()
Returns
Type Description
CreateSubpropertyRequest.Builder

newBuilder(CreateSubpropertyRequest prototype)

public static CreateSubpropertyRequest.Builder newBuilder(CreateSubpropertyRequest prototype)
Parameter
Name Description
prototype CreateSubpropertyRequest
Returns
Type Description
CreateSubpropertyRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateSubpropertyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateSubpropertyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateSubpropertyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateSubpropertyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateSubpropertyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateSubpropertyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateSubpropertyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateSubpropertyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateSubpropertyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateSubpropertyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateSubpropertyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateSubpropertyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSubpropertyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateSubpropertyRequest> parser()
Returns
Type Description
Parser<CreateSubpropertyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateSubpropertyRequest getDefaultInstanceForType()
Returns
Type Description
CreateSubpropertyRequest

getParent()

public String getParent()

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateSubpropertyRequest> getParserForType()
Returns
Type Description
Parser<CreateSubpropertyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubproperty()

public Property getSubproperty()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Property

The subproperty.

getSubpropertyEventFilter()

public SubpropertyEventFilter getSubpropertyEventFilter()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubpropertyEventFilter

The subpropertyEventFilter.

getSubpropertyEventFilterOrBuilder()

public SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SubpropertyEventFilterOrBuilder

getSubpropertyOrBuilder()

public PropertyOrBuilder getSubpropertyOrBuilder()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PropertyOrBuilder

hasSubproperty()

public boolean hasSubproperty()

Required. The subproperty to create.

.google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subproperty field is set.

hasSubpropertyEventFilter()

public boolean hasSubpropertyEventFilter()

Optional. The subproperty event filter to create on an ordinary property.

.google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subpropertyEventFilter field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateSubpropertyRequest.Builder newBuilderForType()
Returns
Type Description
CreateSubpropertyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateSubpropertyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateSubpropertyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateSubpropertyRequest.Builder toBuilder()
Returns
Type Description
CreateSubpropertyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException