Class CreateSubpropertyRequest (0.43.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
TypeDescription
int

SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER

public static final int SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SUBPROPERTY_FIELD_NUMBER

public static final int SUBPROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateSubpropertyRequest getDefaultInstance()
Returns
TypeDescription
CreateSubpropertyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateSubpropertyRequest prototype)

public static CreateSubpropertyRequest.Builder newBuilder(CreateSubpropertyRequest prototype)
Parameter
NameDescription
prototypeCreateSubpropertyRequest
Returns
TypeDescription
CreateSubpropertyRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreateSubpropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubproperty()

public Property getSubproperty()

Required. The subproperty to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SubpropertyEventFilterOrBuilder

getSubpropertyOrBuilder()

public PropertyOrBuilder getSubpropertyOrBuilder()

Required. The subproperty to create.

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

Returns
TypeDescription
PropertyOrBuilder

hasSubproperty()

public boolean hasSubproperty()

Required. The subproperty to create.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the subpropertyEventFilter 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 CreateSubpropertyRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateSubpropertyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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