Class Property.Builder (0.3.0)

public static final class Property.Builder extends GeneratedMessage.Builder<Property.Builder> implements PropertyOrBuilder

Property defines the schema of a property in the graph.

Protobuf type google.cloud.apptopology.v1.Property

Implements

PropertyOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public Property build()
Returns
Type Description
Property

buildPartial()

public Property buildPartial()
Returns
Type Description
Property

clear()

public Property.Builder clear()
Returns
Type Description
Property.Builder
Overrides

clearBoolValue()

public Property.Builder clearBoolValue()

BoolValue represents a property that has a boolean value type.

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

Returns
Type Description
Property.Builder

clearDescription()

public Property.Builder clearDescription()

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
Property.Builder

This builder for chaining.

clearDoubleValue()

public Property.Builder clearDoubleValue()

DoubleValue represents a property that has a double value type.

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

Returns
Type Description
Property.Builder

clearIntValue()

public Property.Builder clearIntValue()

IntValue represents a property that has an integer value type.

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

Returns
Type Description
Property.Builder

clearName()

public Property.Builder clearName()

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

string name = 1;

Returns
Type Description
Property.Builder

This builder for chaining.

clearStringValue()

public Property.Builder clearStringValue()

StringValue represents a property that has a string value type.

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

Returns
Type Description
Property.Builder

clearValue()

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

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.

getBoolValueBuilder()

public BoolValue.Builder getBoolValueBuilder()

BoolValue represents a property that has a boolean value type.

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

Returns
Type Description
BoolValue.Builder

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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getDoubleValueBuilder()

public DoubleValue.Builder getDoubleValueBuilder()

DoubleValue represents a property that has a double value type.

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

Returns
Type Description
DoubleValue.Builder

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.

getIntValueBuilder()

public IntValue.Builder getIntValueBuilder()

IntValue represents a property that has an integer value type.

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

Returns
Type Description
IntValue.Builder

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.

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.

getStringValueBuilder()

public StringValue.Builder getStringValueBuilder()

StringValue represents a property that has a string value type.

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

Returns
Type Description
StringValue.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBoolValue(BoolValue value)

public Property.Builder mergeBoolValue(BoolValue value)

BoolValue represents a property that has a boolean value type.

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

Parameter
Name Description
value BoolValue
Returns
Type Description
Property.Builder

mergeDoubleValue(DoubleValue value)

public Property.Builder mergeDoubleValue(DoubleValue value)

DoubleValue represents a property that has a double value type.

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

Parameter
Name Description
value DoubleValue
Returns
Type Description
Property.Builder

mergeFrom(Property other)

public Property.Builder mergeFrom(Property other)
Parameter
Name Description
other Property
Returns
Type Description
Property.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Property.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Property.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Property.Builder
Overrides

mergeIntValue(IntValue value)

public Property.Builder mergeIntValue(IntValue value)

IntValue represents a property that has an integer value type.

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

Parameter
Name Description
value IntValue
Returns
Type Description
Property.Builder

mergeStringValue(StringValue value)

public Property.Builder mergeStringValue(StringValue value)

StringValue represents a property that has a string value type.

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

Parameter
Name Description
value StringValue
Returns
Type Description
Property.Builder

setBoolValue(BoolValue value)

public Property.Builder setBoolValue(BoolValue value)

BoolValue represents a property that has a boolean value type.

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

Parameter
Name Description
value BoolValue
Returns
Type Description
Property.Builder

setBoolValue(BoolValue.Builder builderForValue)

public Property.Builder setBoolValue(BoolValue.Builder builderForValue)

BoolValue represents a property that has a boolean value type.

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

Parameter
Name Description
builderForValue BoolValue.Builder
Returns
Type Description
Property.Builder

setDescription(String value)

public Property.Builder setDescription(String value)

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

string description = 10;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Property.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Property.Builder setDescriptionBytes(ByteString value)

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

string description = 10;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Property.Builder

This builder for chaining.

setDoubleValue(DoubleValue value)

public Property.Builder setDoubleValue(DoubleValue value)

DoubleValue represents a property that has a double value type.

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

Parameter
Name Description
value DoubleValue
Returns
Type Description
Property.Builder

setDoubleValue(DoubleValue.Builder builderForValue)

public Property.Builder setDoubleValue(DoubleValue.Builder builderForValue)

DoubleValue represents a property that has a double value type.

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

Parameter
Name Description
builderForValue DoubleValue.Builder
Returns
Type Description
Property.Builder

setIntValue(IntValue value)

public Property.Builder setIntValue(IntValue value)

IntValue represents a property that has an integer value type.

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

Parameter
Name Description
value IntValue
Returns
Type Description
Property.Builder

setIntValue(IntValue.Builder builderForValue)

public Property.Builder setIntValue(IntValue.Builder builderForValue)

IntValue represents a property that has an integer value type.

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

Parameter
Name Description
builderForValue IntValue.Builder
Returns
Type Description
Property.Builder

setName(String value)

public Property.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Property.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Property.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Property.Builder

This builder for chaining.

setStringValue(StringValue value)

public Property.Builder setStringValue(StringValue value)

StringValue represents a property that has a string value type.

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

Parameter
Name Description
value StringValue
Returns
Type Description
Property.Builder

setStringValue(StringValue.Builder builderForValue)

public Property.Builder setStringValue(StringValue.Builder builderForValue)

StringValue represents a property that has a string value type.

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

Parameter
Name Description
builderForValue StringValue.Builder
Returns
Type Description
Property.Builder