Package namespace.cloud.compute.v1beta
Interface Compute.InstanceMetadata.ServiceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compute.InstanceMetadata.Service,Compute.InstanceMetadata.Service.Builder
- Enclosing class:
Compute.InstanceMetadata
public static interface Compute.InstanceMetadata.ServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe application-specific endpoint.com.google.protobuf.ByteStringThe application-specific endpoint.Identifies what application transport this endpoint implements.intIdentifies what application transport this endpoint implements.getName()The name of the service, e.g.com.google.protobuf.ByteStringThe name of the service, e.g.It's current status, one of PENDING or READY.intIt's current status, one of PENDING or READY.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The name of the service, e.g. "ssh", "docker" or "containerd".
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the service, e.g. "ssh", "docker" or "containerd".
string name = 1;- Returns:
- The bytes for name.
-
getStatusValue
int getStatusValue()It's current status, one of PENDING or READY. Note: It's not guaranteed that all services emit a PENDING state before becoming READY. The fact that they're starting can sometimes result in a lack of a ServiceState entry for that service.
.namespace.cloud.compute.v1beta.InstanceMetadata.Service.Status status = 2;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Compute.InstanceMetadata.Service.Status getStatus()It's current status, one of PENDING or READY. Note: It's not guaranteed that all services emit a PENDING state before becoming READY. The fact that they're starting can sometimes result in a lack of a ServiceState entry for that service.
.namespace.cloud.compute.v1beta.InstanceMetadata.Service.Status status = 2;- Returns:
- The status.
-
getEndpointKindValue
int getEndpointKindValue()Identifies what application transport this endpoint implements.
.namespace.cloud.compute.v1beta.InstanceMetadata.Service.EndpointKind endpoint_kind = 3;- Returns:
- The enum numeric value on the wire for endpointKind.
-
getEndpointKind
Compute.InstanceMetadata.Service.EndpointKind getEndpointKind()Identifies what application transport this endpoint implements.
.namespace.cloud.compute.v1beta.InstanceMetadata.Service.EndpointKind endpoint_kind = 3;- Returns:
- The endpointKind.
-
getEndpoint
String getEndpoint()The application-specific endpoint. Typically a URL. Example: `wss://gate.fra1.nscluster.cloud/ui3e3e3g7cfrg/22`
string endpoint = 4;- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()The application-specific endpoint. Typically a URL. Example: `wss://gate.fra1.nscluster.cloud/ui3e3e3g7cfrg/22`
string endpoint = 4;- Returns:
- The bytes for endpoint.
-