public static final class LookupApiHubInstanceResponse.Builder extends GeneratedMessageV3.Builder<LookupApiHubInstanceResponse.Builder> implements LookupApiHubInstanceResponseOrBuilder
The LookupApiHubInstance method's response.`
Protobuf type google.cloud.apihub.v1.LookupApiHubInstanceResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LookupApiHubInstanceResponse.BuilderImplements
LookupApiHubInstanceResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupApiHubInstanceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
build()
public LookupApiHubInstanceResponse build()
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse |
buildPartial()
public LookupApiHubInstanceResponse buildPartial()
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse |
clear()
public LookupApiHubInstanceResponse.Builder clear()
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
clearApiHubInstance()
public LookupApiHubInstanceResponse.Builder clearApiHubInstance()
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public LookupApiHubInstanceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupApiHubInstanceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
clone()
public LookupApiHubInstanceResponse.Builder clone()
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
getApiHubInstance()
public ApiHubInstance getApiHubInstance()
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Returns | |
---|---|
Type | Description |
ApiHubInstance |
The apiHubInstance. |
getApiHubInstanceBuilder()
public ApiHubInstance.Builder getApiHubInstanceBuilder()
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Returns | |
---|---|
Type | Description |
ApiHubInstance.Builder |
getApiHubInstanceOrBuilder()
public ApiHubInstanceOrBuilder getApiHubInstanceOrBuilder()
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Returns | |
---|---|
Type | Description |
ApiHubInstanceOrBuilder |
getDefaultInstanceForType()
public LookupApiHubInstanceResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
hasApiHubInstance()
public boolean hasApiHubInstance()
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the apiHubInstance field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeApiHubInstance(ApiHubInstance value)
public LookupApiHubInstanceResponse.Builder mergeApiHubInstance(ApiHubInstance value)
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Parameter | |
---|---|
Name | Description |
value |
ApiHubInstance |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
mergeFrom(LookupApiHubInstanceResponse other)
public LookupApiHubInstanceResponse.Builder mergeFrom(LookupApiHubInstanceResponse other)
Parameter | |
---|---|
Name | Description |
other |
LookupApiHubInstanceResponse |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupApiHubInstanceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LookupApiHubInstanceResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupApiHubInstanceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
setApiHubInstance(ApiHubInstance value)
public LookupApiHubInstanceResponse.Builder setApiHubInstance(ApiHubInstance value)
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Parameter | |
---|---|
Name | Description |
value |
ApiHubInstance |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
setApiHubInstance(ApiHubInstance.Builder builderForValue)
public LookupApiHubInstanceResponse.Builder setApiHubInstance(ApiHubInstance.Builder builderForValue)
API Hub instance for a project if it exists, empty otherwise.
.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
ApiHubInstance.Builder |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LookupApiHubInstanceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupApiHubInstanceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupApiHubInstanceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LookupApiHubInstanceResponse.Builder |