public static final class DependencyEntityReference.Builder extends GeneratedMessageV3.Builder<DependencyEntityReference.Builder> implements DependencyEntityReferenceOrBuilderReference to an entity participating in a dependency.
Protobuf type google.cloud.apihub.v1.DependencyEntityReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DependencyEntityReference.BuilderImplements
DependencyEntityReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DependencyEntityReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
build()
public DependencyEntityReference build()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference |
|
buildPartial()
public DependencyEntityReference buildPartial()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference |
|
clear()
public DependencyEntityReference.Builder clear()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
clearDisplayName()
public DependencyEntityReference.Builder clearDisplayName()Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
clearExternalApiResourceName()
public DependencyEntityReference.Builder 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 | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DependencyEntityReference.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
clearIdentifier()
public DependencyEntityReference.Builder clearIdentifier()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DependencyEntityReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
clearOperationResourceName()
public DependencyEntityReference.Builder 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 | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
clone()
public DependencyEntityReference.Builder clone()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
getDefaultInstanceForType()
public DependencyEntityReference getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getExternalApiResourceName()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The externalApiResourceName. |
getExternalApiResourceNameBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for externalApiResourceName. |
getIdentifierCase()
public DependencyEntityReference.IdentifierCase getIdentifierCase()| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.IdentifierCase |
|
getOperationResourceName()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The operationResourceName. |
getOperationResourceNameBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operationResourceName. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the externalApiResourceName field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the operationResourceName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DependencyEntityReference other)
public DependencyEntityReference.Builder mergeFrom(DependencyEntityReference other)| Parameter | |
|---|---|
| Name | Description |
other |
DependencyEntityReference |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DependencyEntityReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DependencyEntityReference.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DependencyEntityReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
setDisplayName(String value)
public DependencyEntityReference.Builder setDisplayName(String value)Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DependencyEntityReference.Builder setDisplayNameBytes(ByteString value)Output only. Display name of the entity.
string display_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
setExternalApiResourceName(String value)
public DependencyEntityReference.Builder setExternalApiResourceName(String 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe externalApiResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
setExternalApiResourceNameBytes(ByteString value)
public DependencyEntityReference.Builder setExternalApiResourceNameBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for externalApiResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DependencyEntityReference.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
setOperationResourceName(String value)
public DependencyEntityReference.Builder setOperationResourceName(String 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operationResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
setOperationResourceNameBytes(ByteString value)
public DependencyEntityReference.Builder setOperationResourceNameBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for operationResourceName to set. |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DependencyEntityReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DependencyEntityReference.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DependencyEntityReference.Builder |
|