Class Property (0.3.0)

public final class Property extends GeneratedMessage implements PropertyOrBuilder

Property defines the schema of a property in the graph.

Protobuf type google.cloud.apptopology.v1.Property

Implements

PropertyOrBuilder

Static Fields

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DOUBLE_VALUE_FIELD_NUMBER

public static final int DOUBLE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

INT_VALUE_FIELD_NUMBER

public static final int INT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Property getDefaultInstance()
Returns
Type Description
Property

getDescriptor()

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

newBuilder()

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

newBuilder(Property prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBoolValue()

public BoolValue getBoolValue()

BoolValue represents a property that has a boolean value type.

.google.cloud.apptopology.v1.BoolValue bool_value = 5;

Returns
Type Description
BoolValue

The boolValue.

getBoolValueOrBuilder()

public BoolValueOrBuilder getBoolValueOrBuilder()

BoolValue represents a property that has a boolean value type.

.google.cloud.apptopology.v1.BoolValue bool_value = 5;

Returns
Type Description
BoolValueOrBuilder

getDefaultInstanceForType()

public Property getDefaultInstanceForType()
Returns
Type Description
Property

getDescription()

public String getDescription()

A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

string description = 10;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description of the PropertyType, explaining its meaning, purpose, and any constraints or expectations on its value.

string description = 10;

Returns
Type Description
ByteString

The bytes for description.

getDoubleValue()

public DoubleValue getDoubleValue()

DoubleValue represents a property that has a double value type.

.google.cloud.apptopology.v1.DoubleValue double_value = 6;

Returns
Type Description
DoubleValue

The doubleValue.

getDoubleValueOrBuilder()

public DoubleValueOrBuilder getDoubleValueOrBuilder()

DoubleValue represents a property that has a double value type.

.google.cloud.apptopology.v1.DoubleValue double_value = 6;

Returns
Type Description
DoubleValueOrBuilder

getIntValue()

public IntValue getIntValue()

IntValue represents a property that has an integer value type.

.google.cloud.apptopology.v1.IntValue int_value = 4;

Returns
Type Description
IntValue

The intValue.

getIntValueOrBuilder()

public IntValueOrBuilder getIntValueOrBuilder()

IntValue represents a property that has an integer value type.

.google.cloud.apptopology.v1.IntValue int_value = 4;

Returns
Type Description
IntValueOrBuilder

getName()

public String getName()

name is the key string to identify the property in Nodes & Edges. Examples: ProjectId, Base/displayName etc.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

name is the key string to identify the property in Nodes & Edges. Examples: ProjectId, Base/displayName etc.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringValue()

public StringValue getStringValue()

StringValue represents a property that has a string value type.

.google.cloud.apptopology.v1.StringValue string_value = 3;

Returns
Type Description
StringValue

The stringValue.

getStringValueOrBuilder()

public StringValueOrBuilder getStringValueOrBuilder()

StringValue represents a property that has a string value type.

.google.cloud.apptopology.v1.StringValue string_value = 3;

Returns
Type Description
StringValueOrBuilder

getValueCase()

public Property.ValueCase getValueCase()
Returns
Type Description
Property.ValueCase

hasBoolValue()

public boolean hasBoolValue()

BoolValue represents a property that has a boolean value type.

.google.cloud.apptopology.v1.BoolValue bool_value = 5;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasDoubleValue()

public boolean hasDoubleValue()

DoubleValue represents a property that has a double value type.

.google.cloud.apptopology.v1.DoubleValue double_value = 6;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasIntValue()

public boolean hasIntValue()

IntValue represents a property that has an integer value type.

.google.cloud.apptopology.v1.IntValue int_value = 4;

Returns
Type Description
boolean

Whether the intValue field is set.

hasStringValue()

public boolean hasStringValue()

StringValue represents a property that has a string value type.

.google.cloud.apptopology.v1.StringValue string_value = 3;

Returns
Type Description
boolean

Whether the stringValue field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Property.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Property.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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