Class CreatePropertyRequest (0.44.0)

public final class CreatePropertyRequest extends GeneratedMessageV3 implements CreatePropertyRequestOrBuilder

Request message for CreateProperty RPC.

Protobuf type google.analytics.admin.v1alpha.CreatePropertyRequest

Static Fields

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreatePropertyRequest getDefaultInstance()
Returns
TypeDescription
CreatePropertyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreatePropertyRequest prototype)

public static CreatePropertyRequest.Builder newBuilder(CreatePropertyRequest prototype)
Parameter
NameDescription
prototypeCreatePropertyRequest
Returns
TypeDescription
CreatePropertyRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CreatePropertyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreatePropertyRequest

getParserForType()

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

getProperty()

public Property getProperty()

Required. The property to create. Note: the supplied property must specify its parent.

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

Returns
TypeDescription
Property

The property.

getPropertyOrBuilder()

public PropertyOrBuilder getPropertyOrBuilder()

Required. The property to create. Note: the supplied property must specify its parent.

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

Returns
TypeDescription
PropertyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasProperty()

public boolean hasProperty()

Required. The property to create. Note: the supplied property must specify its parent.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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