Class ListServiceLevelObjectivesRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.v3.ListServiceLevelObjectivesRequest
All Implemented Interfaces:
ListServiceLevelObjectivesRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ListServiceLevelObjectivesRequest extends com.google.protobuf.GeneratedMessage implements ListServiceLevelObjectivesRequestOrBuilder
 The `ListServiceLevelObjectives` request.
 
Protobuf type google.monitoring.v3.ListServiceLevelObjectivesRequest
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getParent

      public String getParent()
       Required. Resource name of the parent containing the listed SLOs, either a
       project or a Monitoring Metrics Scope. The formats are:
      
       projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
       workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Resource name of the parent containing the listed SLOs, either a
       project or a Monitoring Metrics Scope. The formats are:
      
       projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
       workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The bytes for parent.
    • getFilter

      public String getFilter()
       A filter specifying what `ServiceLevelObjective`s to return.
       
      string filter = 2;
      Specified by:
      getFilter in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       A filter specifying what `ServiceLevelObjective`s to return.
       
      string filter = 2;
      Specified by:
      getFilterBytes in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The bytes for filter.
    • getPageSize

      public int getPageSize()
       A non-negative number that is the maximum number of results to return.
       When 0, use default page size.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The pageSize.
    • getPageToken

      public String getPageToken()
       If this field is not empty then it must contain the `nextPageToken` value
       returned by a previous call to this method.  Using this field causes the
       method to return additional results from the previous method call.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       If this field is not empty then it must contain the `nextPageToken` value
       returned by a previous call to this method.  Using this field causes the
       method to return additional results from the previous method call.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • getViewValue

      public int getViewValue()
       View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
       `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
       `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the
       `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
       
      .google.monitoring.v3.ServiceLevelObjective.View view = 5;
      Specified by:
      getViewValue in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The enum numeric value on the wire for view.
    • getView

      public ServiceLevelObjective.View getView()
       View of the `ServiceLevelObjective`s to return. If `DEFAULT`, return each
       `ServiceLevelObjective` as originally defined. If `EXPLICIT` and the
       `ServiceLevelObjective` is defined in terms of a `BasicSli`, replace the
       `BasicSli` with a `RequestBasedSli` spelling out how the SLI is computed.
       
      .google.monitoring.v3.ServiceLevelObjective.View view = 5;
      Specified by:
      getView in interface ListServiceLevelObjectivesRequestOrBuilder
      Returns:
      The view.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 ListServiceLevelObjectivesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ListServiceLevelObjectivesRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ListServiceLevelObjectivesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ListServiceLevelObjectivesRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ListServiceLevelObjectivesRequest> 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.GeneratedMessage
    • getDefaultInstanceForType

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