Class ComponentParameterSchema (0.3.0)

public final class ComponentParameterSchema extends GeneratedMessage implements ComponentParameterSchemaOrBuilder

Component parameter schema, which contains a list of all component parameters.

Protobuf type google.cloud.designcenter.v1.ComponentParameterSchema

Static Fields

DEFAULT_VALUE_FIELD_NUMBER

public static final int DEFAULT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

IS_REQUIRED_FIELD_NUMBER

public static final int IS_REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComponentParameterSchema getDefaultInstance()
Returns
Type Description
ComponentParameterSchema

getDescriptor()

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

newBuilder()

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

newBuilder(ComponentParameterSchema prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ComponentParameterSchema getDefaultInstanceForType()
Returns
Type Description
ComponentParameterSchema

getDefaultValue()

public Value getDefaultValue()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Value

The defaultValue.

getDefaultValueOrBuilder()

public ValueOrBuilder getDefaultValueOrBuilder()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ValueOrBuilder

getIsRequired()

public boolean getIsRequired()

Output only. Whether the parameter is required.

bool is_required = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isRequired.

getKey()

public String getKey()

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for key.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String getType()

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for type.

hasDefaultValue()

public boolean hasDefaultValue()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the defaultValue 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 ComponentParameterSchema.Builder newBuilderForType()
Returns
Type Description
ComponentParameterSchema.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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