public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
An individual endpoint that provides a [service][google.cloud.servicedirectory.v1beta1.Service]. The service must already exist to create an endpoint.Protobuf type
google.cloud.servicedirectory.v1beta1.Endpoint| Modifier and Type | Method and Description |
|---|---|
Endpoint.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint |
build() |
Endpoint |
buildPartial() |
Endpoint.Builder |
clear() |
Endpoint.Builder |
clearAddress()
Optional.
|
Endpoint.Builder |
clearCreateTime()
Output only.
|
Endpoint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Endpoint.Builder |
clearMetadata() |
Endpoint.Builder |
clearName()
Immutable.
|
Endpoint.Builder |
clearNetwork()
Immutable.
|
Endpoint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Endpoint.Builder |
clearPort()
Optional.
|
Endpoint.Builder |
clearUpdateTime()
Output only.
|
Endpoint.Builder |
clone() |
boolean |
containsMetadata(String key)
Optional.
|
String |
getAddress()
Optional.
|
com.google.protobuf.ByteString |
getAddressBytes()
Optional.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Endpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Optional.
|
Map<String,String> |
getMetadataMap()
Optional.
|
String |
getMetadataOrDefault(String key,
String defaultValue)
Optional.
|
String |
getMetadataOrThrow(String key)
Optional.
|
Map<String,String> |
getMutableMetadata()
Deprecated.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
String |
getNetwork()
Immutable.
|
com.google.protobuf.ByteString |
getNetworkBytes()
Immutable.
|
int |
getPort()
Optional.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Endpoint.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Endpoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Endpoint.Builder |
mergeFrom(Endpoint other) |
Endpoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
Endpoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Endpoint.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Endpoint.Builder |
putAllMetadata(Map<String,String> values)
Optional.
|
Endpoint.Builder |
putMetadata(String key,
String value)
Optional.
|
Endpoint.Builder |
removeMetadata(String key)
Optional.
|
Endpoint.Builder |
setAddress(String value)
Optional.
|
Endpoint.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
Optional.
|
Endpoint.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Endpoint.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Endpoint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Endpoint.Builder |
setName(String value)
Immutable.
|
Endpoint.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
Endpoint.Builder |
setNetwork(String value)
Immutable.
|
Endpoint.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
Immutable.
|
Endpoint.Builder |
setPort(int value)
Optional.
|
Endpoint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Endpoint.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Endpoint.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Endpoint.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Endpoint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Endpoint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Endpoint.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(Endpoint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>IOExceptionpublic String getName()
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface EndpointOrBuilderpublic Endpoint.Builder setName(String value)
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public Endpoint.Builder clearName()
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public Endpoint.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name for the endpoint in the format `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public String getAddress()
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];getAddress in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getAddressBytes()
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];getAddressBytes in interface EndpointOrBuilderpublic Endpoint.Builder setAddress(String value)
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];value - The address to set.public Endpoint.Builder clearAddress()
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];public Endpoint.Builder setAddressBytes(com.google.protobuf.ByteString value)
Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: * `8.8.8` * `8.8.8.8:53` * `test:bad:address` * `[::1]` * `[::1]:8080` Limited to 45 characters.
string address = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for address to set.public int getPort()
Optional. Service Directory rejects values outside of `[0, 65535]`.
int32 port = 3 [(.google.api.field_behavior) = OPTIONAL];getPort in interface EndpointOrBuilderpublic Endpoint.Builder setPort(int value)
Optional. Service Directory rejects values outside of `[0, 65535]`.
int32 port = 3 [(.google.api.field_behavior) = OPTIONAL];value - The port to set.public Endpoint.Builder clearPort()
Optional. Service Directory rejects values outside of `[0, 65535]`.
int32 port = 3 [(.google.api.field_behavior) = OPTIONAL];public int getMetadataCount()
EndpointOrBuilder
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];getMetadataCount in interface EndpointOrBuilderpublic boolean containsMetadata(String key)
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
containsMetadata in interface EndpointOrBuilder@Deprecated public Map<String,String> getMetadata()
getMetadataMap() instead.getMetadata in interface EndpointOrBuilderpublic Map<String,String> getMetadataMap()
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
getMetadataMap in interface EndpointOrBuilderpublic String getMetadataOrDefault(String key, String defaultValue)
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
getMetadataOrDefault in interface EndpointOrBuilderpublic String getMetadataOrThrow(String key)
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
getMetadataOrThrow in interface EndpointOrBuilderpublic Endpoint.Builder clearMetadata()
public Endpoint.Builder removeMetadata(String key)
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableMetadata()
public Endpoint.Builder putMetadata(String key, String value)
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
public Endpoint.Builder putAllMetadata(Map<String,String> values)
Optional. Metadata for the endpoint. This data can be consumed by service
clients.
Restrictions:
* The entire metadata dictionary may contain up to 512 characters,
spread accoss all key-value pairs. Metadata that goes beyond this
limit are rejected
* Valid metadata keys have two segments: an optional prefix and name,
separated by a slash (/). The name segment is required and must be 63
characters or less, beginning and ending with an alphanumeric character
([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and
alphanumerics between. The prefix is optional. If specified, the prefix
must be a DNS subdomain: a series of DNS labels separated by dots (.),
not longer than 253 characters in total, followed by a slash (/).
Metadata that fails to meet these requirements are rejected
* The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved
for system metadata managed by Service Directory. If the user tries
to write to these keyspaces, those entries are silently ignored by
the system
Note: This field is equivalent to the `annotations` field in the v1 API.
They have the same syntax and read/write to the same location in Service
Directory.
map<string, string> metadata = 4 [(.google.api.field_behavior) = OPTIONAL];
public String getNetwork()
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects/<project number>/locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
string network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getNetwork in interface EndpointOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects/<project number>/locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
string network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
getNetworkBytes in interface EndpointOrBuilderpublic Endpoint.Builder setNetwork(String value)
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects/<project number>/locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
string network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value - The network to set.public Endpoint.Builder clearNetwork()
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects/<project number>/locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
string network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
public Endpoint.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Immutable. The Google Compute Engine network (VPC) of the endpoint in the format `projects/<project number>/locations/global/networks/*`. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions).
string network = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
value - The bytes for network to set.public boolean hasCreateTime()
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface EndpointOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface EndpointOrBuilderpublic Endpoint.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Endpoint.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Endpoint.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Endpoint.Builder clearCreateTime()
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp when the endpoint was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface EndpointOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface EndpointOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface EndpointOrBuilderpublic Endpoint.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Endpoint.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Endpoint.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Endpoint.Builder clearUpdateTime()
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the endpoint was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface EndpointOrBuilderpublic final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>Copyright © 2022 Google LLC. All rights reserved.