Class GenerateServiceAgentsResponse (0.4.0)

public final class GenerateServiceAgentsResponse extends GeneratedMessage implements GenerateServiceAgentsResponseOrBuilder

Message for creating all ServiceAgents for a ServiceProducer in a project and location.

Protobuf type google.cloud.workloadidentity.v1.GenerateServiceAgentsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GenerateServiceAgentsResponse

Static Fields

SERVICE_AGENTS_FIELD_NUMBER

public static final int SERVICE_AGENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateServiceAgentsResponse getDefaultInstance()
Returns
Type Description
GenerateServiceAgentsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateServiceAgentsResponse.Builder newBuilder()
Returns
Type Description
GenerateServiceAgentsResponse.Builder

newBuilder(GenerateServiceAgentsResponse prototype)

public static GenerateServiceAgentsResponse.Builder newBuilder(GenerateServiceAgentsResponse prototype)
Parameter
Name Description
prototype GenerateServiceAgentsResponse
Returns
Type Description
GenerateServiceAgentsResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateServiceAgentsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceAgentsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateServiceAgentsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceAgentsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateServiceAgentsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceAgentsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateServiceAgentsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceAgentsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateServiceAgentsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceAgentsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateServiceAgentsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateServiceAgentsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateServiceAgentsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateServiceAgentsResponse> parser()
Returns
Type Description
Parser<GenerateServiceAgentsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateServiceAgentsResponse getDefaultInstanceForType()
Returns
Type Description
GenerateServiceAgentsResponse

getParserForType()

public Parser<GenerateServiceAgentsResponse> getParserForType()
Returns
Type Description
Parser<GenerateServiceAgentsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceAgents(int index)

public ServiceAgent getServiceAgents(int index)

The list of service agents

repeated .google.cloud.workloadidentity.v1.ServiceAgent service_agents = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceAgent

getServiceAgentsCount()

public int getServiceAgentsCount()

The list of service agents

repeated .google.cloud.workloadidentity.v1.ServiceAgent service_agents = 1;

Returns
Type Description
int

getServiceAgentsList()

public List<ServiceAgent> getServiceAgentsList()

The list of service agents

repeated .google.cloud.workloadidentity.v1.ServiceAgent service_agents = 1;

Returns
Type Description
List<ServiceAgent>

getServiceAgentsOrBuilder(int index)

public ServiceAgentOrBuilder getServiceAgentsOrBuilder(int index)

The list of service agents

repeated .google.cloud.workloadidentity.v1.ServiceAgent service_agents = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceAgentOrBuilder

getServiceAgentsOrBuilderList()

public List<? extends ServiceAgentOrBuilder> getServiceAgentsOrBuilderList()

The list of service agents

repeated .google.cloud.workloadidentity.v1.ServiceAgent service_agents = 1;

Returns
Type Description
List<? extends com.google.cloud.workloadidentity.v1.ServiceAgentOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateServiceAgentsResponse.Builder newBuilderForType()
Returns
Type Description
GenerateServiceAgentsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GenerateServiceAgentsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateServiceAgentsResponse.Builder
Overrides

toBuilder()

public GenerateServiceAgentsResponse.Builder toBuilder()
Returns
Type Description
GenerateServiceAgentsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException