Class Inputs.Builder (0.43.0)

public static final class Inputs.Builder extends GeneratedMessageV3.Builder<Inputs.Builder> implements InputsOrBuilder

Defines definition of input parameters of asset templates.

Protobuf type google.cloud.privatecatalog.v1beta1.Inputs

Implements

InputsOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inputs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inputs.Builder
Overrides

build()

public Inputs build()
Returns
TypeDescription
Inputs

buildPartial()

public Inputs buildPartial()
Returns
TypeDescription
Inputs

clear()

public Inputs.Builder clear()
Returns
TypeDescription
Inputs.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Inputs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Inputs.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Inputs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Inputs.Builder
Overrides

clearParameters()

public Inputs.Builder clearParameters()

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

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

Returns
TypeDescription
Inputs.Builder

clone()

public Inputs.Builder clone()
Returns
TypeDescription
Inputs.Builder
Overrides

getDefaultInstanceForType()

public Inputs getDefaultInstanceForType()
Returns
TypeDescription
Inputs

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
Struct

The parameters.

getParametersBuilder()

public Struct.Builder getParametersBuilder()

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

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

Returns
TypeDescription
Builder

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
TypeDescription
StructOrBuilder

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
TypeDescription
boolean

Whether the parameters field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Inputs other)

public Inputs.Builder mergeFrom(Inputs other)
Parameter
NameDescription
otherInputs
Returns
TypeDescription
Inputs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Inputs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inputs.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Inputs.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Inputs.Builder
Overrides

mergeParameters(Struct value)

public Inputs.Builder mergeParameters(Struct value)

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

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

Parameter
NameDescription
valueStruct
Returns
TypeDescription
Inputs.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inputs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inputs.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Inputs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inputs.Builder
Overrides

setParameters(Struct value)

public Inputs.Builder setParameters(Struct value)

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

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

Parameter
NameDescription
valueStruct
Returns
TypeDescription
Inputs.Builder

setParameters(Struct.Builder builderForValue)

public Inputs.Builder setParameters(Struct.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Inputs.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Inputs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Inputs.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Inputs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inputs.Builder
Overrides