Class ListVpcFlowLogsConfigsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder>
com.google.cloud.networkmanagement.v1beta1.ListVpcFlowLogsConfigsResponse.Builder
All Implemented Interfaces:
ListVpcFlowLogsConfigsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListVpcFlowLogsConfigsResponse

public static final class ListVpcFlowLogsConfigsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder> implements ListVpcFlowLogsConfigsResponseOrBuilder
 Response for the `ListVpcFlowLogsConfigs` method.
 
Protobuf type google.cloud.networkmanagement.v1beta1.ListVpcFlowLogsConfigsResponse
  • 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.Builder<ListVpcFlowLogsConfigsResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder>
    • getDefaultInstanceForType

      public ListVpcFlowLogsConfigsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListVpcFlowLogsConfigsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListVpcFlowLogsConfigsResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder>
    • mergeFrom

      public ListVpcFlowLogsConfigsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListVpcFlowLogsConfigsResponse.Builder>
      Throws:
      IOException
    • getVpcFlowLogsConfigsList

      public List<VpcFlowLogsConfig> getVpcFlowLogsConfigsList()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsList in interface ListVpcFlowLogsConfigsResponseOrBuilder
    • getVpcFlowLogsConfigsCount

      public int getVpcFlowLogsConfigsCount()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsCount in interface ListVpcFlowLogsConfigsResponseOrBuilder
    • getVpcFlowLogsConfigs

      public VpcFlowLogsConfig getVpcFlowLogsConfigs(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigs in interface ListVpcFlowLogsConfigsResponseOrBuilder
    • setVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder setVpcFlowLogsConfigs(int index, VpcFlowLogsConfig value)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • setVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder setVpcFlowLogsConfigs(int index, VpcFlowLogsConfig.Builder builderForValue)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(VpcFlowLogsConfig value)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(int index, VpcFlowLogsConfig value)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(VpcFlowLogsConfig.Builder builderForValue)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder addVpcFlowLogsConfigs(int index, VpcFlowLogsConfig.Builder builderForValue)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addAllVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder addAllVpcFlowLogsConfigs(Iterable<? extends VpcFlowLogsConfig> values)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • clearVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder clearVpcFlowLogsConfigs()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • removeVpcFlowLogsConfigs

      public ListVpcFlowLogsConfigsResponse.Builder removeVpcFlowLogsConfigs(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getVpcFlowLogsConfigsBuilder

      public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigsBuilder(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getVpcFlowLogsConfigsOrBuilder

      public VpcFlowLogsConfigOrBuilder getVpcFlowLogsConfigsOrBuilder(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsOrBuilder in interface ListVpcFlowLogsConfigsResponseOrBuilder
    • getVpcFlowLogsConfigsOrBuilderList

      public List<? extends VpcFlowLogsConfigOrBuilder> getVpcFlowLogsConfigsOrBuilderList()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
      Specified by:
      getVpcFlowLogsConfigsOrBuilderList in interface ListVpcFlowLogsConfigsResponseOrBuilder
    • addVpcFlowLogsConfigsBuilder

      public VpcFlowLogsConfig.Builder addVpcFlowLogsConfigsBuilder()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • addVpcFlowLogsConfigsBuilder

      public VpcFlowLogsConfig.Builder addVpcFlowLogsConfigsBuilder(int index)
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getVpcFlowLogsConfigsBuilderList

      public List<VpcFlowLogsConfig.Builder> getVpcFlowLogsConfigsBuilderList()
       List of VPC Flow Log configurations.
       
      repeated .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListVpcFlowLogsConfigsResponse.Builder setNextPageToken(String value)
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListVpcFlowLogsConfigsResponse.Builder clearNextPageToken()
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListVpcFlowLogsConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Page token to fetch the next set of configurations.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListVpcFlowLogsConfigsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListVpcFlowLogsConfigsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListVpcFlowLogsConfigsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListVpcFlowLogsConfigsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListVpcFlowLogsConfigsResponse.Builder addUnreachable(String value)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListVpcFlowLogsConfigsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListVpcFlowLogsConfigsResponse.Builder clearUnreachable()
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListVpcFlowLogsConfigsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached (when querying all locations with `-`).
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.