Class Inputs (0.51.0)

public final class Inputs extends GeneratedMessageV3 implements InputsOrBuilder

Defines definition of input parameters of asset templates.

Protobuf type google.cloud.privatecatalog.v1beta1.Inputs

Implements

InputsOrBuilder

Static Fields

PARAMETERS_FIELD_NUMBER

public static final int PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Inputs getDefaultInstance()
Returns
Type Description
Inputs

getDescriptor()

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

newBuilder()

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

newBuilder(Inputs prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Inputs getDefaultInstanceForType()
Returns
Type Description
Inputs

getParameters()

public Struct getParameters()

Output only. The JSON schema defining the inputs and their formats.

.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The parameters.

getParametersOrBuilder()

public StructOrBuilder getParametersOrBuilder()

Output only. The JSON schema defining the inputs and their formats.

.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasParameters()

public boolean hasParameters()

Output only. The JSON schema defining the inputs and their formats.

.google.protobuf.Struct parameters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the parameters field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Inputs.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Inputs.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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