Class ServiceEndpointWatcher

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.linecorp.centraldogma.xds.k8s.v1.ServiceEndpointWatcher
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServiceEndpointWatcherOrBuilder, Serializable

public final class ServiceEndpointWatcher extends com.google.protobuf.GeneratedMessageV3 implements ServiceEndpointWatcherOrBuilder
Protobuf type centraldogma.xds.k8s.v1.ServiceEndpointWatcher
See Also:
  • Field Details

    • SERVICE_NAME_FIELD_NUMBER

      public static final int SERVICE_NAME_FIELD_NUMBER
      See Also:
    • PORT_NAME_FIELD_NUMBER

      public static final int PORT_NAME_FIELD_NUMBER
      See Also:
    • KUBECONFIG_FIELD_NUMBER

      public static final int KUBECONFIG_FIELD_NUMBER
      See Also:
    • ADDITIONAL_PROPERTIES_FIELD_NUMBER

      public static final int ADDITIONAL_PROPERTIES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getServiceName

      public String getServiceName()
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceName in interface ServiceEndpointWatcherOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
      string service_name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getServiceNameBytes in interface ServiceEndpointWatcherOrBuilder
      Returns:
      The bytes for serviceName.
    • getPortName

      public String getPortName()
      string port_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPortName in interface ServiceEndpointWatcherOrBuilder
      Returns:
      The portName.
    • getPortNameBytes

      public com.google.protobuf.ByteString getPortNameBytes()
      string port_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPortNameBytes in interface ServiceEndpointWatcherOrBuilder
      Returns:
      The bytes for portName.
    • hasKubeconfig

      public boolean hasKubeconfig()
      .centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasKubeconfig in interface ServiceEndpointWatcherOrBuilder
      Returns:
      Whether the kubeconfig field is set.
    • getKubeconfig

      public Kubeconfig getKubeconfig()
      .centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKubeconfig in interface ServiceEndpointWatcherOrBuilder
      Returns:
      The kubeconfig.
    • getKubeconfigOrBuilder

      public KubeconfigOrBuilder getKubeconfigOrBuilder()
      .centraldogma.xds.k8s.v1.Kubeconfig kubeconfig = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getKubeconfigOrBuilder in interface ServiceEndpointWatcherOrBuilder
    • getAdditionalPropertiesCount

      public int getAdditionalPropertiesCount()
      Description copied from interface: ServiceEndpointWatcherOrBuilder
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdditionalPropertiesCount in interface ServiceEndpointWatcherOrBuilder
    • containsAdditionalProperties

      public boolean containsAdditionalProperties(String key)
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAdditionalProperties in interface ServiceEndpointWatcherOrBuilder
    • getAdditionalProperties

      @Deprecated public Map<String,String> getAdditionalProperties()
      Deprecated.
      Specified by:
      getAdditionalProperties in interface ServiceEndpointWatcherOrBuilder
    • getAdditionalPropertiesMap

      public Map<String,String> getAdditionalPropertiesMap()
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdditionalPropertiesMap in interface ServiceEndpointWatcherOrBuilder
    • getAdditionalPropertiesOrDefault

      public String getAdditionalPropertiesOrDefault(String key, String defaultValue)
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdditionalPropertiesOrDefault in interface ServiceEndpointWatcherOrBuilder
    • getAdditionalPropertiesOrThrow

      public String getAdditionalPropertiesOrThrow(String key)
      map<string, string> additional_properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdditionalPropertiesOrThrow in interface ServiceEndpointWatcherOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceEndpointWatcher parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceEndpointWatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceEndpointWatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ServiceEndpointWatcher.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ServiceEndpointWatcher.Builder newBuilder()
    • newBuilder

      public static ServiceEndpointWatcher.Builder newBuilder(ServiceEndpointWatcher prototype)
    • toBuilder

      public ServiceEndpointWatcher.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ServiceEndpointWatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ServiceEndpointWatcher getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServiceEndpointWatcher> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServiceEndpointWatcher> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ServiceEndpointWatcher getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder