Package com.google.cloud.apihub.v1
Class AttributeValues.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AttributeValues.Builder>
com.google.cloud.apihub.v1.AttributeValues.Builder
- All Implemented Interfaces:
AttributeValuesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AttributeValues
public static final class AttributeValues.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AttributeValues.Builder>
implements AttributeValuesOrBuilder
The attribute values associated with resource.Protobuf type
google.cloud.apihub.v1.AttributeValues-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The attribute values associated with a resource in case attribute data type is enum.The attribute values associated with a resource in case attribute data type is JSON.The attribute values associated with a resource in case attribute data type is string.The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe attribute values associated with a resource in case attribute data type is enum.The attribute values associated with a resource in case attribute data type is enum.The attribute values associated with a resource in case attribute data type is enum.The attribute values associated with a resource in case attribute data type is JSON.The attribute values associated with a resource in case attribute data type is JSON.The attribute values associated with a resource in case attribute data type is JSON.The attribute values associated with a resource in case attribute data type is string.The attribute values associated with a resource in case attribute data type is string.The attribute values associated with a resource in case attribute data type is string.The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.booleanThe attribute values associated with a resource in case attribute data type is enum.booleanThe attribute values associated with a resource in case attribute data type is JSON.booleanThe attribute values associated with a resource in case attribute data type is string.booleanThe attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe attribute values associated with a resource in case attribute data type is enum.mergeFrom(AttributeValues other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The attribute values associated with a resource in case attribute data type is JSON.The attribute values associated with a resource in case attribute data type is string.The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.setAttribute(String value) Output only.setAttributeBytes(com.google.protobuf.ByteString value) Output only.The attribute values associated with a resource in case attribute data type is enum.setEnumValues(AttributeValues.EnumAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is enum.The attribute values associated with a resource in case attribute data type is JSON.setJsonValues(AttributeValues.StringAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is JSON.The attribute values associated with a resource in case attribute data type is string.setStringValues(AttributeValues.StringAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is string.The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.setUriValues(AttributeValues.StringAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AttributeValues.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AttributeValues.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AttributeValues.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttributeValues.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AttributeValues.Builder>
-
mergeFrom
public AttributeValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttributeValues.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceAttributeValuesOrBuilder
-
clearValue
-
hasEnumValues
public boolean hasEnumValues()The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;- Specified by:
hasEnumValuesin interfaceAttributeValuesOrBuilder- Returns:
- Whether the enumValues field is set.
-
getEnumValues
The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;- Specified by:
getEnumValuesin interfaceAttributeValuesOrBuilder- Returns:
- The enumValues.
-
setEnumValues
The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2; -
setEnumValues
public AttributeValues.Builder setEnumValues(AttributeValues.EnumAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2; -
mergeEnumValues
The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2; -
clearEnumValues
The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2; -
getEnumValuesBuilder
The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2; -
getEnumValuesOrBuilder
The attribute values associated with a resource in case attribute data type is enum.
.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;- Specified by:
getEnumValuesOrBuilderin interfaceAttributeValuesOrBuilder
-
hasStringValues
public boolean hasStringValues()The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;- Specified by:
hasStringValuesin interfaceAttributeValuesOrBuilder- Returns:
- Whether the stringValues field is set.
-
getStringValues
The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;- Specified by:
getStringValuesin interfaceAttributeValuesOrBuilder- Returns:
- The stringValues.
-
setStringValues
The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3; -
setStringValues
public AttributeValues.Builder setStringValues(AttributeValues.StringAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3; -
mergeStringValues
The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3; -
clearStringValues
The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3; -
getStringValuesBuilder
The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3; -
getStringValuesOrBuilder
The attribute values associated with a resource in case attribute data type is string.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;- Specified by:
getStringValuesOrBuilderin interfaceAttributeValuesOrBuilder
-
hasJsonValues
public boolean hasJsonValues()The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;- Specified by:
hasJsonValuesin interfaceAttributeValuesOrBuilder- Returns:
- Whether the jsonValues field is set.
-
getJsonValues
The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;- Specified by:
getJsonValuesin interfaceAttributeValuesOrBuilder- Returns:
- The jsonValues.
-
setJsonValues
The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4; -
setJsonValues
public AttributeValues.Builder setJsonValues(AttributeValues.StringAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4; -
mergeJsonValues
The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4; -
clearJsonValues
The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4; -
getJsonValuesBuilder
The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4; -
getJsonValuesOrBuilder
The attribute values associated with a resource in case attribute data type is JSON.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;- Specified by:
getJsonValuesOrBuilderin interfaceAttributeValuesOrBuilder
-
hasUriValues
public boolean hasUriValues()The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5;- Specified by:
hasUriValuesin interfaceAttributeValuesOrBuilder- Returns:
- Whether the uriValues field is set.
-
getUriValues
The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5;- Specified by:
getUriValuesin interfaceAttributeValuesOrBuilder- Returns:
- The uriValues.
-
setUriValues
The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5; -
setUriValues
public AttributeValues.Builder setUriValues(AttributeValues.StringAttributeValues.Builder builderForValue) The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5; -
mergeUriValues
The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5; -
clearUriValues
The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5; -
getUriValuesBuilder
The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5; -
getUriValuesOrBuilder
The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
.google.cloud.apihub.v1.AttributeValues.StringAttributeValues uri_values = 5;- Specified by:
getUriValuesOrBuilderin interfaceAttributeValuesOrBuilder
-
getAttribute
Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAttributein interfaceAttributeValuesOrBuilder- Returns:
- The attribute.
-
getAttributeBytes
public com.google.protobuf.ByteString getAttributeBytes()Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAttributeBytesin interfaceAttributeValuesOrBuilder- Returns:
- The bytes for attribute.
-
setAttribute
Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The attribute to set.- Returns:
- This builder for chaining.
-
clearAttribute
Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAttributeBytes
Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for attribute to set.- Returns:
- This builder for chaining.
-