public static final class Endpoint.Builder extends GeneratedMessage.Builder<Endpoint.Builder> implements EndpointOrBuilderRepresents an Endpoint.
Protobuf type google.cloud.agentregistry.v1.Endpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Endpoint.BuilderImplements
EndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInterfaces(Iterable<? extends Interface> values)
public Endpoint.Builder addAllInterfaces(Iterable<? extends Interface> values)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.agentregistry.v1.Interface> |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
addInterfaces(Interface value)
public Endpoint.Builder addInterfaces(Interface value)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Interface |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
addInterfaces(Interface.Builder builderForValue)
public Endpoint.Builder addInterfaces(Interface.Builder builderForValue)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Interface.Builder |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
addInterfaces(int index, Interface value)
public Endpoint.Builder addInterfaces(int index, Interface value)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Interface |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
addInterfaces(int index, Interface.Builder builderForValue)
public Endpoint.Builder addInterfaces(int index, Interface.Builder builderForValue)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Interface.Builder |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
addInterfacesBuilder()
public Interface.Builder addInterfacesBuilder()Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Interface.Builder |
|
addInterfacesBuilder(int index)
public Interface.Builder addInterfacesBuilder(int index)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Interface.Builder |
|
build()
public Endpoint build()| Returns | |
|---|---|
| Type | Description |
Endpoint |
|
buildPartial()
public Endpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
Endpoint |
|
clear()
public Endpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
clearAttributes()
public Endpoint.Builder clearAttributes()| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
clearCreateTime()
public Endpoint.Builder clearCreateTime()Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
clearDescription()
public Endpoint.Builder clearDescription()Output only. Description of an Endpoint.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
clearDisplayName()
public Endpoint.Builder clearDisplayName()Output only. Display name for the Endpoint.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
clearEndpointId()
public Endpoint.Builder clearEndpointId()Output only. A stable, globally unique identifier for Endpoint.
string endpoint_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
clearInterfaces()
public Endpoint.Builder clearInterfaces()Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
clearName()
public Endpoint.Builder clearName() Identifier. The resource name of the Endpoint.
Format: projects/{project}/locations/{location}/endpoints/{endpoint}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
clearUpdateTime()
public Endpoint.Builder clearUpdateTime()Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
containsAttributes(String key)
public boolean containsAttributes(String key)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAttributes() (deprecated)
public Map<String,Struct> getAttributes()Use #getAttributesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Struct> |
|
getAttributesCount()
public int getAttributesCount()Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAttributesMap()
public Map<String,Struct> getAttributesMap()Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,Struct> |
|
getAttributesOrDefault(String key, Struct defaultValue)
public Struct getAttributesOrDefault(String key, Struct defaultValue)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
Struct |
| Returns | |
|---|---|
| Type | Description |
Struct |
|
getAttributesOrThrow(String key)
public Struct getAttributesOrThrow(String key)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Struct |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Endpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Endpoint |
|
getDescription()
public String getDescription()Output only. Description of an Endpoint.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Output only. Description of an Endpoint.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Output only. Display name for the Endpoint.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Output only. Display name for the Endpoint.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getEndpointId()
public String getEndpointId()Output only. A stable, globally unique identifier for Endpoint.
string endpoint_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The endpointId. |
getEndpointIdBytes()
public ByteString getEndpointIdBytes()Output only. A stable, globally unique identifier for Endpoint.
string endpoint_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endpointId. |
getInterfaces(int index)
public Interface getInterfaces(int index)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Interface |
|
getInterfacesBuilder(int index)
public Interface.Builder getInterfacesBuilder(int index)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Interface.Builder |
|
getInterfacesBuilderList()
public List<Interface.Builder> getInterfacesBuilderList()Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInterfacesCount()
public int getInterfacesCount()Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getInterfacesList()
public List<Interface> getInterfacesList()Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Interface> |
|
getInterfacesOrBuilder(int index)
public InterfaceOrBuilder getInterfacesOrBuilder(int index)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
InterfaceOrBuilder |
|
getInterfacesOrBuilderList()
public List<? extends InterfaceOrBuilder> getInterfacesOrBuilderList()Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.agentregistry.v1.InterfaceOrBuilder> |
|
getMutableAttributes() (deprecated)
public Map<String,Struct> getMutableAttributes()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Struct> |
|
getName()
public String getName() Identifier. The resource name of the Endpoint.
Format: projects/{project}/locations/{location}/endpoints/{endpoint}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. The resource name of the Endpoint.
Format: projects/{project}/locations/{location}/endpoints/{endpoint}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Endpoint.Builder mergeCreateTime(Timestamp value)Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
mergeFrom(Endpoint other)
public Endpoint.Builder mergeFrom(Endpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
Endpoint |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Endpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Endpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
mergeUpdateTime(Timestamp value)
public Endpoint.Builder mergeUpdateTime(Timestamp value)Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
putAllAttributes(Map<String,Struct> values)
public Endpoint.Builder putAllAttributes(Map<String,Struct> values)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,Struct> |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
putAttributes(String key, Struct value)
public Endpoint.Builder putAttributes(String key, Struct value)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
putAttributesBuilderIfAbsent(String key)
public Struct.Builder putAttributesBuilderIfAbsent(String key)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Builder |
|
removeAttributes(String key)
public Endpoint.Builder removeAttributes(String key)Output only. Attributes of the Endpoint.
Valid values:
agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."} - the URI of the underlying resource hosting the Endpoint, for example, the GKE Deployment.
map<string, .google.protobuf.Struct> attributes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
removeInterfaces(int index)
public Endpoint.Builder removeInterfaces(int index)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
setCreateTime(Timestamp value)
public Endpoint.Builder setCreateTime(Timestamp value)Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Endpoint.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create time.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
setDescription(String value)
public Endpoint.Builder setDescription(String value)Output only. Description of an Endpoint.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Endpoint.Builder setDescriptionBytes(ByteString value)Output only. Description of an Endpoint.
string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setDisplayName(String value)
public Endpoint.Builder setDisplayName(String value)Output only. Display name for the Endpoint.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Endpoint.Builder setDisplayNameBytes(ByteString value)Output only. Display name for the Endpoint.
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setEndpointId(String value)
public Endpoint.Builder setEndpointId(String value)Output only. A stable, globally unique identifier for Endpoint.
string endpoint_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe endpointId to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setEndpointIdBytes(ByteString value)
public Endpoint.Builder setEndpointIdBytes(ByteString value)Output only. A stable, globally unique identifier for Endpoint.
string endpoint_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for endpointId to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setInterfaces(int index, Interface value)
public Endpoint.Builder setInterfaces(int index, Interface value)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Interface |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
setInterfaces(int index, Interface.Builder builderForValue)
public Endpoint.Builder setInterfaces(int index, Interface.Builder builderForValue)Required. The connection details for the Endpoint.
repeated .google.cloud.agentregistry.v1.Interface interfaces = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Interface.Builder |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
setName(String value)
public Endpoint.Builder setName(String value) Identifier. The resource name of the Endpoint.
Format: projects/{project}/locations/{location}/endpoints/{endpoint}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Endpoint.Builder setNameBytes(ByteString value) Identifier. The resource name of the Endpoint.
Format: projects/{project}/locations/{location}/endpoints/{endpoint}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Endpoint.Builder setUpdateTime(Timestamp value)Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Endpoint.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update time.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Endpoint.Builder |
|