Class ListAutoscalingPoliciesResponse (4.32.0)

public final class ListAutoscalingPoliciesResponse extends GeneratedMessageV3 implements ListAutoscalingPoliciesResponseOrBuilder

A response to a request to list autoscaling policies in a project.

Protobuf type google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListAutoscalingPoliciesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

POLICIES_FIELD_NUMBER

public static final int POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAutoscalingPoliciesResponse getDefaultInstance()
Returns
TypeDescription
ListAutoscalingPoliciesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListAutoscalingPoliciesResponse.Builder newBuilder()
Returns
TypeDescription
ListAutoscalingPoliciesResponse.Builder

newBuilder(ListAutoscalingPoliciesResponse prototype)

public static ListAutoscalingPoliciesResponse.Builder newBuilder(ListAutoscalingPoliciesResponse prototype)
Parameter
NameDescription
prototypeListAutoscalingPoliciesResponse
Returns
TypeDescription
ListAutoscalingPoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListAutoscalingPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAutoscalingPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListAutoscalingPoliciesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAutoscalingPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAutoscalingPoliciesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAutoscalingPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAutoscalingPoliciesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAutoscalingPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListAutoscalingPoliciesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAutoscalingPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListAutoscalingPoliciesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAutoscalingPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAutoscalingPoliciesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListAutoscalingPoliciesResponse> parser()
Returns
TypeDescription
Parser<ListAutoscalingPoliciesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListAutoscalingPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAutoscalingPoliciesResponse

getNextPageToken()

public String getNextPageToken()

Output only. This token is included in the response if there are more results to fetch.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. This token is included in the response if there are more results to fetch.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListAutoscalingPoliciesResponse> getParserForType()
Returns
TypeDescription
Parser<ListAutoscalingPoliciesResponse>
Overrides

getPolicies(int index)

public AutoscalingPolicy getPolicies(int index)

Output only. Autoscaling policies list.

repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoscalingPolicy

getPoliciesCount()

public int getPoliciesCount()

Output only. Autoscaling policies list.

repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getPoliciesList()

public List<AutoscalingPolicy> getPoliciesList()

Output only. Autoscaling policies list.

repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<AutoscalingPolicy>

getPoliciesOrBuilder(int index)

public AutoscalingPolicyOrBuilder getPoliciesOrBuilder(int index)

Output only. Autoscaling policies list.

repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
AutoscalingPolicyOrBuilder

getPoliciesOrBuilderList()

public List<? extends AutoscalingPolicyOrBuilder> getPoliciesOrBuilderList()

Output only. Autoscaling policies list.

repeated .google.cloud.dataproc.v1.AutoscalingPolicy policies = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.dataproc.v1.AutoscalingPolicyOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListAutoscalingPoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAutoscalingPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAutoscalingPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListAutoscalingPoliciesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListAutoscalingPoliciesResponse.Builder toBuilder()
Returns
TypeDescription
ListAutoscalingPoliciesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException