Package com.google.cloud.apihub.v1
Class DependencyEntityReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DependencyEntityReference.Builder>
com.google.cloud.apihub.v1.DependencyEntityReference.Builder
- All Implemented Interfaces:
DependencyEntityReferenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DependencyEntityReference
public static final class DependencyEntityReference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DependencyEntityReference.Builder>
implements DependencyEntityReferenceOrBuilder
Reference to an entity participating in a dependency.Protobuf type
google.cloud.apihub.v1.DependencyEntityReference-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The resource name of an external API in the API Hub.The resource name of an operation in the API Hub.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.The resource name of an external API in the API Hub.com.google.protobuf.ByteStringThe resource name of an external API in the API Hub.The resource name of an operation in the API Hub.com.google.protobuf.ByteStringThe resource name of an operation in the API Hub.booleanThe resource name of an external API in the API Hub.booleanThe resource name of an operation in the API Hub.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setExternalApiResourceName(String value) The resource name of an external API in the API Hub.setExternalApiResourceNameBytes(com.google.protobuf.ByteString value) The resource name of an external API in the API Hub.setOperationResourceName(String value) The resource name of an operation in the API Hub.setOperationResourceNameBytes(com.google.protobuf.ByteString value) The resource name of an operation in the API Hub.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<DependencyEntityReference.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<DependencyEntityReference.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<DependencyEntityReference.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<DependencyEntityReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DependencyEntityReference.Builder>
-
mergeFrom
public DependencyEntityReference.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<DependencyEntityReference.Builder>- Throws:
IOException
-
getIdentifierCase
- Specified by:
getIdentifierCasein interfaceDependencyEntityReferenceOrBuilder
-
clearIdentifier
-
hasOperationResourceName
public boolean hasOperationResourceName()The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`string operation_resource_name = 2;- Specified by:
hasOperationResourceNamein interfaceDependencyEntityReferenceOrBuilder- Returns:
- Whether the operationResourceName field is set.
-
getOperationResourceName
The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`string operation_resource_name = 2;- Specified by:
getOperationResourceNamein interfaceDependencyEntityReferenceOrBuilder- Returns:
- The operationResourceName.
-
getOperationResourceNameBytes
public com.google.protobuf.ByteString getOperationResourceNameBytes()The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`string operation_resource_name = 2;- Specified by:
getOperationResourceNameBytesin interfaceDependencyEntityReferenceOrBuilder- Returns:
- The bytes for operationResourceName.
-
setOperationResourceName
The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`string operation_resource_name = 2;- Parameters:
value- The operationResourceName to set.- Returns:
- This builder for chaining.
-
clearOperationResourceName
The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`string operation_resource_name = 2;- Returns:
- This builder for chaining.
-
setOperationResourceNameBytes
public DependencyEntityReference.Builder setOperationResourceNameBytes(com.google.protobuf.ByteString value) The resource name of an operation in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`string operation_resource_name = 2;- Parameters:
value- The bytes for operationResourceName to set.- Returns:
- This builder for chaining.
-
hasExternalApiResourceName
public boolean hasExternalApiResourceName()The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`string external_api_resource_name = 3;- Specified by:
hasExternalApiResourceNamein interfaceDependencyEntityReferenceOrBuilder- Returns:
- Whether the externalApiResourceName field is set.
-
getExternalApiResourceName
The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`string external_api_resource_name = 3;- Specified by:
getExternalApiResourceNamein interfaceDependencyEntityReferenceOrBuilder- Returns:
- The externalApiResourceName.
-
getExternalApiResourceNameBytes
public com.google.protobuf.ByteString getExternalApiResourceNameBytes()The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`string external_api_resource_name = 3;- Specified by:
getExternalApiResourceNameBytesin interfaceDependencyEntityReferenceOrBuilder- Returns:
- The bytes for externalApiResourceName.
-
setExternalApiResourceName
The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`string external_api_resource_name = 3;- Parameters:
value- The externalApiResourceName to set.- Returns:
- This builder for chaining.
-
clearExternalApiResourceName
The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`string external_api_resource_name = 3;- Returns:
- This builder for chaining.
-
setExternalApiResourceNameBytes
public DependencyEntityReference.Builder setExternalApiResourceNameBytes(com.google.protobuf.ByteString value) The resource name of an external API in the API Hub. Format: `projects/{project}/locations/{location}/externalApis/{external_api}`string external_api_resource_name = 3;- Parameters:
value- The bytes for externalApiResourceName to set.- Returns:
- This builder for chaining.
-
getDisplayName
Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceDependencyEntityReferenceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceDependencyEntityReferenceOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-