Package k8s.io.api.core.v1
Interface Generated.ServiceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Service,Generated.Service.Builder
- Enclosing class:
- Generated
public static interface Generated.ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.ObjectMetagetMetadata()Standard object's metadata.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()Standard object's metadata.Generated.ServiceSpecgetSpec()Spec defines the behavior of a service.Generated.ServiceSpecOrBuildergetSpecOrBuilder()Spec defines the behavior of a service.Generated.ServiceStatusgetStatus()Most recently observed status of the service.Generated.ServiceStatusOrBuildergetStatusOrBuilder()Most recently observed status of the service.booleanhasMetadata()Standard object's metadata.booleanhasSpec()Spec defines the behavior of a service.booleanhasStatus()Most recently observed status of the service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- Whether the metadata field is set.
-
getMetadata
Generated.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- The metadata.
-
getMetadataOrBuilder
Generated.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
hasSpec
boolean hasSpec()
Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional .k8s.io.api.core.v1.ServiceSpec spec = 2;- Returns:
- Whether the spec field is set.
-
getSpec
Generated.ServiceSpec getSpec()
Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional .k8s.io.api.core.v1.ServiceSpec spec = 2;- Returns:
- The spec.
-
getSpecOrBuilder
Generated.ServiceSpecOrBuilder getSpecOrBuilder()
Spec defines the behavior of a service. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional .k8s.io.api.core.v1.ServiceSpec spec = 2;
-
hasStatus
boolean hasStatus()
Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional .k8s.io.api.core.v1.ServiceStatus status = 3;- Returns:
- Whether the status field is set.
-
getStatus
Generated.ServiceStatus getStatus()
Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional .k8s.io.api.core.v1.ServiceStatus status = 3;- Returns:
- The status.
-
getStatusOrBuilder
Generated.ServiceStatusOrBuilder getStatusOrBuilder()
Most recently observed status of the service. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status +optional
optional .k8s.io.api.core.v1.ServiceStatus status = 3;
-
-